Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001268/0.001268, allocations: 112.3 kB / 20.22 MB, free: 1.793 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.001317/0.001317, allocations: 215.5 kB / 23.48 MB, free: 5.227 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.397/1.397, allocations: 230.4 MB / 257 MB, free: 8.254 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.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_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.001836/0.001836, allocations: 63.91 kB / 377.1 MB, free: 3.594 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2606, allocations: 53.32 MB / 430.4 MB, free: 7.234 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002908/0.2635, allocations: 1.447 MB / 431.8 MB, free: 5.785 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002764/0.2638, allocations: 95.69 kB / 431.9 MB, free: 5.691 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.927e-05/0.2638, allocations: 4 kB / 431.9 MB, free: 5.688 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.859e-05/0.2639, allocations: 3.938 kB / 431.9 MB, free: 5.684 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.195e-05/0.2639, allocations: 0 / 431.9 MB, free: 5.684 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002388/0.2641, allocations: 39.2 kB / 432 MB, free: 5.648 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.603e-05/0.2642, allocations: 19.92 kB / 432 MB, free: 5.629 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.127e-05/0.2643, allocations: 8 kB / 432 MB, free: 5.621 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.36e-05/0.2643, allocations: 19.92 kB / 432 MB, free: 5.602 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.823e-05/0.2644, allocations: 11.88 kB / 432 MB, free: 5.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.2644, allocations: 0 / 432 MB, free: 5.59 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.938e-06/0.2644, allocations: 4 kB / 432 MB, free: 5.586 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.899e-05/0.2644, allocations: 7.984 kB / 432 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.672e-05/0.2644, allocations: 19.86 kB / 432.1 MB, free: 5.559 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.769e-05/0.2645, allocations: 27.7 kB / 432.1 MB, free: 5.535 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2645, allocations: 0 / 432.1 MB, free: 5.535 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2645, allocations: 0 / 432.1 MB, free: 5.535 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.237e-06/0.2645, allocations: 0 / 432.1 MB, free: 5.535 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.0004496/0.265, allocations: 342.4 kB / 432.4 MB, free: 5.156 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.265, allocations: 8.031 kB / 432.4 MB, free: 5.148 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.486e-05/0.2651, allocations: 30.75 kB / 432.5 MB, free: 5.109 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.414e-05/0.2651, allocations: 4.938 kB / 432.5 MB, free: 5.105 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/0.2653, allocations: 188.2 kB / 432.6 MB, free: 4.883 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.2654, allocations: 384 / 432.6 MB, free: 4.883 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.2654, allocations: 4.375 kB / 432.7 MB, free: 4.879 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002869/0.2657, allocations: 103.9 kB / 432.8 MB, free: 4.766 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.2657, allocations: 3.938 kB / 432.8 MB, free: 4.762 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.2657, allocations: 0 / 432.8 MB, free: 4.762 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.2657, allocations: 3.984 kB / 432.8 MB, free: 4.758 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.911e-05/0.2657, allocations: 8 kB / 432.8 MB, free: 4.75 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001766/0.2659, allocations: 161.7 kB / 432.9 MB, free: 4.543 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001518/0.2661, allocations: 46.5 kB / 433 MB, free: 4.488 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.013e-05/0.2661, allocations: 20.89 kB / 433 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.2661, allocations: 4.031 kB / 433 MB, free: 4.461 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.2662, allocations: 34.56 kB / 433 MB, free: 4.418 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.2662, allocations: 0 / 433 MB, free: 4.418 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002033/0.2664, allocations: 65.58 kB / 433.1 MB, free: 4.348 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.855e-05/0.2664, allocations: 63.34 kB / 433.2 MB, free: 4.273 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.348e-05/0.2665, allocations: 105.8 kB / 433.3 MB, free: 4.16 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.2665, allocations: 25.7 kB / 433.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.152e-05/0.2666, allocations: 88.08 kB / 433.4 MB, free: 4.039 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.887e-06/0.2666, allocations: 4 kB / 433.4 MB, free: 4.035 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.27e-05/0.2666, allocations: 17.7 kB / 433.4 MB, free: 4.012 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.2668, allocations: 314.8 kB / 433.7 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.214e-05/0.2668, allocations: 4 kB / 433.7 MB, free: 3.691 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.539e-05/0.2668, allocations: 27.44 kB / 433.7 MB, free: 3.652 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.707e-05/0.2669, allocations: 35.36 kB / 433.8 MB, free: 3.605 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2669, allocations: 0 / 433.8 MB, free: 3.605 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.875e-05/0.267, allocations: 57.64 kB / 433.8 MB, free: 3.543 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.267, allocations: 15.92 kB / 433.8 MB, free: 3.527 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.267, allocations: 3.938 kB / 433.8 MB, free: 3.523 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.267, allocations: 0 / 433.8 MB, free: 3.523 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.459e-05/0.267, allocations: 7.938 kB / 433.8 MB, free: 3.516 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.267, allocations: 3.984 kB / 433.9 MB, free: 3.512 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.099e-05/0.2671, allocations: 4 kB / 433.9 MB, free: 3.508 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-06/0.2671, allocations: 0 / 433.9 MB, free: 3.508 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 9.493e-05/0.2672, allocations: 114 kB / 434 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.982e-05/0.2673, allocations: 65.84 kB / 434 MB, free: 3.316 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.52e-05/0.2673, allocations: 3.5 kB / 434 MB, free: 3.309 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.2673, allocations: 0 / 434 MB, free: 3.309 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.2673, allocations: 3.984 kB / 434 MB, free: 3.305 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2673, allocations: 0 / 434 MB, free: 3.305 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.2674, allocations: 153.7 kB / 434.2 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2674, allocations: 0 / 434.2 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.031e-05/0.2674, allocations: 7.938 kB / 434.2 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.2674, allocations: 3.938 kB / 434.2 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.2674, allocations: 4 kB / 434.2 MB, free: 3.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.2674, allocations: 0 / 434.2 MB, free: 3.09 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2674, allocations: 0 / 434.2 MB, free: 3.09 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001216/0.2676, allocations: 81.11 kB / 434.3 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.183e-05/0.2676, allocations: 85.06 kB / 434.4 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.2676, allocations: 3.938 kB / 434.4 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.063e-05/0.2677, allocations: 4 kB / 434.4 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.495e-06/0.2677, allocations: 0 / 434.4 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.2677, allocations: 4.25 kB / 434.4 MB, free: 2.879 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.747e-05/0.2677, allocations: 87.27 kB / 434.5 MB, free: 2.793 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2677, allocations: 3.938 kB / 434.5 MB, free: 2.789 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001787/0.2679, allocations: 8 kB / 434.5 MB, free: 2.781 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.0004322/0.2683, allocations: 0.6162 MB / 435.1 MB, free: 2.137 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001059/0.2684, allocations: 27.92 kB / 435.1 MB, free: 2.109 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2684, allocations: 0 / 435.1 MB, free: 2.109 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.2684, allocations: 0 / 435.1 MB, free: 2.109 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001921/0.2686, allocations: 20.02 kB / 435.1 MB, free: 2.09 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.2696, allocations: 1.166 MB / 436.3 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.2699, allocations: 0.6768 MB / 437 MB, free: 124 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.46e-05/0.27, allocations: 4 kB / 437 MB, free: 120 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.411e-05/0.27, allocations: 11.42 kB / 437 MB, free: 108 kB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.27, allocations: 0 / 437 MB, free: 108 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02252/0.2925, allocations: 1.197 MB / 438.2 MB, free: 14.99 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.747/8.04, allocations: 11.81 kB / 438.2 MB, free: 14.98 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.24157248600386] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y'] 8.12146650487557 8.150884983 7.881106759 Calling exit ...