Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001311/0.001311, allocations: 109 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00138/0.00138, allocations: 213.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.39/1.39, allocations: 230.6 MB / 258.3 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 68.55 kB / 378.5 MB, free: 3.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2571, allocations: 53.37 MB / 431.9 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002683/0.2598, allocations: 1.453 MB / 433.4 MB, free: 5.457 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002956/0.2601, allocations: 107.5 kB / 433.5 MB, free: 5.352 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.02e-05/0.2602, allocations: 0 / 433.5 MB, free: 5.352 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.656e-05/0.2602, allocations: 3.938 kB / 433.5 MB, free: 5.348 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.891e-05/0.2602, allocations: 3.938 kB / 433.5 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000235/0.2605, allocations: 23.97 kB / 433.5 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.403e-05/0.2606, allocations: 27.92 kB / 433.5 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.668e-05/0.2607, allocations: 11.92 kB / 433.5 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.944e-05/0.2607, allocations: 12 kB / 433.6 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.565e-05/0.2607, allocations: 11.94 kB / 433.6 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.2608, allocations: 0 / 433.6 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.009e-05/0.2608, allocations: 4 kB / 433.6 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.918e-05/0.2608, allocations: 7.922 kB / 433.6 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.489e-05/0.2608, allocations: 11.94 kB / 433.6 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.547e-05/0.2609, allocations: 35.48 kB / 433.6 MB, free: 5.203 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.2609, allocations: 4 kB / 433.6 MB, free: 5.199 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2609, allocations: 0 / 433.6 MB, free: 5.199 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.2609, allocations: 0 / 433.6 MB, free: 5.199 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004213/0.2613, allocations: 263.5 kB / 433.9 MB, free: 4.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.2614, allocations: 12.02 kB / 433.9 MB, free: 4.898 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.025e-05/0.2614, allocations: 38.75 kB / 433.9 MB, free: 4.852 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.825e-05/0.2615, allocations: 12.88 kB / 433.9 MB, free: 4.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.2617, allocations: 118.5 kB / 434.1 MB, free: 4.699 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.2617, allocations: 4.375 kB / 434.1 MB, free: 4.695 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.388e-06/0.2617, allocations: 4.375 kB / 434.1 MB, free: 4.691 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002961/0.262, allocations: 111.8 kB / 434.2 MB, free: 4.57 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.262, allocations: 3.938 kB / 434.2 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.262, allocations: 0 / 434.2 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.262, allocations: 3.938 kB / 434.2 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.709e-05/0.2621, allocations: 19.98 kB / 434.2 MB, free: 4.543 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000145/0.2622, allocations: 132.7 kB / 434.3 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001458/0.2624, allocations: 50.56 kB / 434.4 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.584e-05/0.2624, allocations: 20.92 kB / 434.4 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.2625, allocations: 7.984 kB / 434.4 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.2625, allocations: 30.56 kB / 434.4 MB, free: 4.242 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.2625, allocations: 0 / 434.4 MB, free: 4.242 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002139/0.2627, allocations: 81.53 kB / 434.5 MB, free: 4.156 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.838e-05/0.2628, allocations: 59.41 kB / 434.6 MB, free: 4.086 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.807e-05/0.2629, allocations: 97.86 kB / 434.7 MB, free: 3.98 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.2629, allocations: 33.69 kB / 434.7 MB, free: 3.941 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.33e-05/0.2629, allocations: 84.14 kB / 434.8 MB, free: 3.855 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.091e-06/0.2629, allocations: 0 / 434.8 MB, free: 3.855 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.964e-05/0.263, allocations: 17.66 kB / 434.8 MB, free: 3.832 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.2631, allocations: 318.8 kB / 435.1 MB, free: 3.512 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.325e-05/0.2631, allocations: 7.984 kB / 435.1 MB, free: 3.504 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.026e-05/0.2631, allocations: 27.44 kB / 435.2 MB, free: 3.465 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.306e-05/0.2632, allocations: 35.38 kB / 435.2 MB, free: 3.418 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2632, allocations: 0 / 435.2 MB, free: 3.418 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.388e-05/0.2633, allocations: 65.52 kB / 435.3 MB, free: 3.348 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.2633, allocations: 7.938 kB / 435.3 MB, free: 3.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.2633, allocations: 0 / 435.3 MB, free: 3.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.2633, allocations: 4 kB / 435.3 MB, free: 3.336 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.115e-05/0.2634, allocations: 4 kB / 435.3 MB, free: 3.332 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.2634, allocations: 3.984 kB / 435.3 MB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.898e-05/0.2634, allocations: 4.125 kB / 435.3 MB, free: 3.324 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.156e-06/0.2634, allocations: 4 kB / 435.3 MB, free: 3.32 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.56e-05/0.2635, allocations: 113.8 kB / 435.4 MB, free: 3.199 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.2636, allocations: 57.84 kB / 435.4 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.095e-05/0.2636, allocations: 12 kB / 435.5 MB, free: 3.117 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.2636, allocations: 4.031 kB / 435.5 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.2636, allocations: 4.234 kB / 435.5 MB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2636, allocations: 3.938 kB / 435.5 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.7e-05/0.2637, allocations: 128.8 kB / 435.6 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.2637, allocations: 4 kB / 435.6 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.745e-05/0.2638, allocations: 8 kB / 435.6 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.2638, allocations: 3.938 kB / 435.6 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.545e-06/0.2638, allocations: 3.984 kB / 435.6 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2638, allocations: 0 / 435.6 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.2638, allocations: 4 kB / 435.6 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001375/0.2639, allocations: 85.02 kB / 435.7 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.142e-05/0.2639, allocations: 11.92 kB / 435.7 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.2639, allocations: 3.938 kB / 435.7 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.294e-05/0.264, allocations: 4 kB / 435.7 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.295e-06/0.264, allocations: 0 / 435.7 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.264, allocations: 0 / 435.7 MB, free: 2.793 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.54e-05/0.264, allocations: 83.28 kB / 435.8 MB, free: 2.711 MB / 334.1 MB Notification: Performance of sort global known variables: time 5e-08/0.264, allocations: 0 / 435.8 MB, free: 2.711 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001754/0.2642, allocations: 4 kB / 435.8 MB, free: 2.707 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (step.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004402/0.2646, allocations: 0.628 MB / 436.4 MB, free: 2.051 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001101/0.2647, allocations: 27.92 kB / 436.5 MB, free: 2.023 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2647, allocations: 0 / 436.5 MB, free: 2.023 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.1e-07/0.2647, allocations: 0 / 436.5 MB, free: 2.023 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.265, allocations: 28.12 kB / 436.5 MB, free: 1.996 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009871/0.2659, allocations: 1.142 MB / 437.6 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/0.2662, allocations: 0.6807 MB / 438.3 MB, free: 48 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.496e-05/0.2662, allocations: 8 kB / 438.3 MB, free: 40 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.746e-05/0.2663, allocations: 15.42 kB / 438.3 MB, free: 24 kB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2663, allocations: 0 / 438.3 MB, free: 24 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02163/0.2879, allocations: 1.249 MB / 439.6 MB, free: 14.87 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.688/7.976, allocations: 12.39 kB / 439.6 MB, free: 14.86 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000199561 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.370080035179853] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y'] 8.046394507866353 8.072680766 7.806972189 Calling exit ...