Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.BooleanNetwork1.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.00159/0.00159, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001489/0.001489, allocations: 210.1 kB / 24.52 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.583/1.583, allocations: 230.5 MB / 258.2 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.Blocks.Examples.BooleanNetwork1,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_BooleanNetwork1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.BooleanNetwork1,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_BooleanNetwork1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 67.88 kB / 378.5 MB, free: 2.836 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4449/0.4469, allocations: 53.41 MB / 431.9 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BooleanNetwork1): time 0.00474/0.4517, allocations: 2.393 MB / 434.3 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003254/0.4549, allocations: 1.414 MB / 435.7 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000295/0.4552, allocations: 15.88 kB / 435.7 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009525/0.4562, allocations: 243 kB / 436 MB, free: 2.391 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005458/0.4567, allocations: 207 kB / 436.2 MB, free: 2.188 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007279/0.4574, allocations: 271.4 kB / 436.4 MB, free: 1.922 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005859/0.458, allocations: 483.6 kB / 436.9 MB, free: 1.449 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000321/0.4584, allocations: 158.1 kB / 437.1 MB, free: 1.289 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000236/0.4586, allocations: 199.2 kB / 437.3 MB, free: 1.094 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002747/0.4589, allocations: 227 kB / 437.5 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.01e-05/0.4589, allocations: 36 kB / 437.5 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002612/0.4592, allocations: 111.9 kB / 437.6 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001737/0.4594, allocations: 131.6 kB / 437.8 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001948/0.4596, allocations: 179 kB / 437.9 MB, free: 432 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008171/0.4604, allocations: 0.5739 MB / 438.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.4604, allocations: 0 / 438.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.158e-06/0.4604, allocations: 4 kB / 438.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.4604, allocations: 0 / 438.5 MB, free: 15.84 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001556/0.4619, allocations: 0.795 MB / 439.3 MB, free: 15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.462, allocations: 11.97 kB / 439.3 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.98e-05/0.462, allocations: 9.188 kB / 439.3 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.618e-05/0.4621, allocations: 78.72 kB / 439.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000276/0.4624, allocations: 72.55 kB / 439.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005739/0.463, allocations: 324.5 kB / 439.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/0.4631, allocations: 80.97 kB / 439.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.555e-05/0.4632, allocations: 44.12 kB / 439.9 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007897/0.4639, allocations: 488 kB / 440.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.464, allocations: 0 / 440.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.881e-05/0.464, allocations: 20 kB / 440.4 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.659e-05/0.464, allocations: 16.42 kB / 440.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005135/0.4645, allocations: 291.2 kB / 440.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002078/0.4666, allocations: 1.57 MB / 442.3 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006678/0.4673, allocations: 305.6 kB / 442.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002588/0.4675, allocations: 144.2 kB / 442.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.699e-05/0.4676, allocations: 11.94 kB / 442.7 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000534/0.4681, allocations: 350.9 kB / 443.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 1.914e-06/0.4681, allocations: 0 / 443.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.001074/0.4692, allocations: 0.5367 MB / 443.6 MB, free: 10.4 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/0.4693, allocations: 170.1 kB / 443.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005925/0.4699, allocations: 0.4897 MB / 444.3 MB, free: 9.695 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.64e-05/0.47, allocations: 41.7 kB / 444.3 MB, free: 9.648 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002271/0.4702, allocations: 236.9 kB / 444.5 MB, free: 9.414 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.273e-05/0.4703, allocations: 87.38 kB / 444.6 MB, free: 9.328 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000171/0.4705, allocations: 122.1 kB / 444.7 MB, free: 9.203 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.4707, allocations: 362.7 kB / 445.1 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000259/0.4709, allocations: 146.6 kB / 445.2 MB, free: 8.688 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004317/0.4713, allocations: 351.1 kB / 445.6 MB, free: 8.266 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005577/0.4719, allocations: 407.5 kB / 446 MB, free: 7.801 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.4719, allocations: 0 / 446 MB, free: 7.801 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008053/0.4727, allocations: 0.4965 MB / 446.5 MB, free: 7.285 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.171e-05/0.4728, allocations: 37.69 kB / 446.5 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.4728, allocations: 4 kB / 446.5 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.4728, allocations: 4.312 kB / 446.5 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.473, allocations: 39.92 kB / 446.6 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.627e-05/0.473, allocations: 11.94 kB / 446.6 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00025/0.4732, allocations: 59.69 kB / 446.6 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.149e-05/0.4733, allocations: 20 kB / 446.7 MB, free: 7.105 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 58 ($PRE.onDelay.u,$PRE.onDelay.t_next,triggeredAdd.y,$PRE.triggeredAdd.y,$whenCondition5,$whenCondition4,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,onDelay.t_next,onDelay.delaySignal,onDelay.y,onDelay.u,$whenCondition3,$whenCondition2,sampleTriggerReset.y,sampleTriggerSet.y,rSFlipFlop.pre.u,$PRE.rSFlipFlop.pre.u,rSFlipFlop.QI,rSFlipFlop.Q,triggeredAdd.local_set,triggeredAdd.local_reset,set1.expr[2],set1.expr[1],changing.y,changing.u,$PRE.changing.u,falling.not_u,$PRE.falling.not_u,set1.firstActiveIndex,set1.y,$PRE.set1.y,set1.u[2],set1.u[1],rising.u,$PRE.rising.u,nor1.y,or2.u[1],nand1.u[1],xor1.u[1],or1.u[1],booleanPulse2.pulseStart,$PRE.booleanPulse2.pulseStart,booleanPulse1.pulseStart,$PRE.booleanPulse1.pulseStart,and1.u[2],and1.u[1],$whenCondition6,showValue6.active,showValue5.active,showValue1.number,showValue4.active,showValue3.active,showValue2.active,showValue.active) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 1 * 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 0.000345/0.4736, allocations: 252.8 kB / 446.9 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.538e-05/0.4737, allocations: 51.61 kB / 447 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008483/0.4745, allocations: 416.5 kB / 447.4 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/0.4746, allocations: 4 kB / 447.4 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.4746, allocations: 0 / 447.4 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.4746, allocations: 4 kB / 447.4 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/0.4758, allocations: 0.6882 MB / 448.1 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.4758, allocations: 4 kB / 448.1 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.416e-05/0.4759, allocations: 8 kB / 448.1 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.752e-06/0.4759, allocations: 7.938 kB / 448.1 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.85e-05/0.4759, allocations: 11.98 kB / 448.1 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.4759, allocations: 0 / 448.1 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.4759, allocations: 4 kB / 448.1 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008209/0.4767, allocations: 0.5276 MB / 448.6 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.849e-05/0.4768, allocations: 47.64 kB / 448.7 MB, free: 4.977 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.134e-05/0.4769, allocations: 15.94 kB / 448.7 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/0.4771, allocations: 23.98 kB / 448.7 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/0.4772, allocations: 55.84 kB / 448.8 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-05/0.4773, allocations: 15.94 kB / 448.8 MB, free: 4.867 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004109/0.4777, allocations: 331.1 kB / 449.1 MB, free: 4.547 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4777, allocations: 0 / 449.1 MB, free: 4.547 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005655/0.4782, allocations: 119.8 kB / 449.2 MB, free: 4.43 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 35 (rSFlipFlop.Q,rSFlipFlop.QI,rSFlipFlop.pre.u,sampleTriggerSet.y,sampleTriggerReset.y,$whenCondition1,$whenCondition2,$whenCondition3,onDelay.u,onDelay.y,onDelay.delaySignal,onDelay.t_next,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,changing.y,$whenCondition6,$whenCondition5,$whenCondition4,and1.u[1],and1.u[2],booleanPulse1.pulseStart,booleanPulse2.pulseStart,or1.u[1],xor1.u[1],nand1.u[1],or2.u[1],nor1.y,rising.u,set1.u[1],set1.u[2],set1.y,set1.firstActiveIndex,falling.not_u,changing.u,triggeredAdd.y) * Number of discrete states: 12 (falling.not_u,rising.u,set1.y,changing.u,triggeredAdd.y,onDelay.t_next,onDelay.delaySignal,$whenCondition3,$whenCondition2,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,rSFlipFlop.pre.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 5 * 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.003002/0.4812, allocations: 1.427 MB / 450.6 MB, free: 3.109 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008176/0.4821, allocations: 435.2 kB / 451.1 MB, free: 2.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.4821, allocations: 0 / 451.1 MB, free: 2.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003617/0.4824, allocations: 233 kB / 451.3 MB, free: 2.414 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000586/0.483, allocations: 84.91 kB / 451.4 MB, free: 2.336 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00607/0.4891, allocations: 4.187 MB / 455.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.4894, allocations: 242.6 kB / 455.8 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002336/0.4896, allocations: 79.39 kB / 455.9 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002535/0.4898, allocations: 159.4 kB / 456 MB, free: 13.41 MB / 366.1 MB Notification: Performance of SimCode: time 7.92e-07/0.4898, allocations: 0 / 456 MB, free: 13.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03716/0.527, allocations: 10.61 MB / 466.6 MB, free: 2.891 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.92, allocations: 4.062 kB / 466.6 MB, free: 2.887 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Blocks.Examples.BooleanNetwork1.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.BooleanNetwork1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.BooleanNetwork1.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.BooleanNetwork1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.BooleanNetwork1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_BooleanNetwork1_fmu --startTime=0 --stopTime=10 --stepSize=0.00197981 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_BooleanNetwork1.fmu > Modelica_trunk_Modelica.Blocks.Examples.BooleanNetwork1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.646930594928563] Failed to read output from testmodel.py, exit status != 0: ['time', 'and1.u[1]', 'and1.u[2]', 'and1.u[3]', 'booleanTable.y', 'changing.u', 'nand1.u[1]', 'nand1.u[2]', 'onDelay.u', 'or1.u[1]', 'or1.u[2]', 'or2.u[1]', 'or2.u[2]', 'rSFlipFlop.pre.u', 'rising.u', 'set1.y', 'triggeredAdd.y', 'xor1.u[1]', 'xor1.u[2]'] 12.144929939997382 12.171720589 11.706422167 Calling exit ...