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.001423/0.001423, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.002098/0.002098, allocations: 216.5 kB / 24.53 MB, free: 4.012 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.607/1.607, allocations: 230.5 MB / 258.2 MB, free: 8.02 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.00192/0.00192, allocations: 67.89 kB / 378.6 MB, free: 3.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4377/0.4396, allocations: 53.41 MB / 432 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BooleanNetwork1): time 0.004695/0.4443, allocations: 2.518 MB / 434.5 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003078/0.4474, allocations: 1.5 MB / 436 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003451/0.4477, allocations: 11.88 kB / 436 MB, free: 2.648 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001055/0.4488, allocations: 250.9 kB / 436.2 MB, free: 2.402 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006393/0.4494, allocations: 210.5 kB / 436.5 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009783/0.4504, allocations: 271.2 kB / 436.7 MB, free: 1.934 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007647/0.4512, allocations: 483.7 kB / 437.2 MB, free: 1.461 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003829/0.4516, allocations: 142.3 kB / 437.3 MB, free: 1.312 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000322/0.4519, allocations: 211.2 kB / 437.5 MB, free: 1.105 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003272/0.4522, allocations: 223 kB / 437.8 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.565e-05/0.4523, allocations: 36 kB / 437.8 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003037/0.4526, allocations: 119.9 kB / 437.9 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001634/0.4528, allocations: 131.5 kB / 438 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002298/0.453, allocations: 214.7 kB / 438.2 MB, free: 404 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000912/0.4539, allocations: 0.5722 MB / 438.8 MB, free: 15.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.4539, allocations: 0 / 438.8 MB, free: 15.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4539, allocations: 0 / 438.8 MB, free: 15.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.486e-05/0.4539, allocations: 4 kB / 438.8 MB, free: 15.82 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.00173/0.4556, allocations: 0.795 MB / 439.6 MB, free: 14.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.277e-05/0.4557, allocations: 12.03 kB / 439.6 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.817e-05/0.4557, allocations: 17.12 kB / 439.6 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.122e-05/0.4558, allocations: 70.72 kB / 439.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003308/0.4562, allocations: 68.55 kB / 439.8 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006749/0.4568, allocations: 341.4 kB / 440.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000131/0.457, allocations: 84.95 kB / 440.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.843e-05/0.457, allocations: 44.12 kB / 440.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007997/0.4578, allocations: 424.7 kB / 440.7 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.4579, allocations: 4 kB / 440.7 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.905e-05/0.4579, allocations: 12 kB / 440.7 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.581e-05/0.4579, allocations: 20.36 kB / 440.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005176/0.4585, allocations: 265.5 kB / 440.9 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002168/0.4606, allocations: 1.632 MB / 442.6 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006061/0.4612, allocations: 275.8 kB / 442.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002286/0.4615, allocations: 118.5 kB / 443 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.691e-05/0.4615, allocations: 7.938 kB / 443 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005196/0.462, allocations: 325.2 kB / 443.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 2.044e-06/0.462, allocations: 0 / 443.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.001012/0.463, allocations: 478.3 kB / 443.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/0.4632, allocations: 162.2 kB / 443.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006065/0.4638, allocations: 0.4897 MB / 444.4 MB, free: 9.891 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.507e-05/0.4638, allocations: 41.7 kB / 444.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002024/0.464, allocations: 240.9 kB / 444.7 MB, free: 9.605 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.213e-05/0.4641, allocations: 83.36 kB / 444.8 MB, free: 9.523 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001585/0.4643, allocations: 118.1 kB / 444.9 MB, free: 9.402 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001928/0.4645, allocations: 370.7 kB / 445.2 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002338/0.4647, allocations: 116.9 kB / 445.4 MB, free: 8.914 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003572/0.465, allocations: 262.1 kB / 445.6 MB, free: 8.598 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006184/0.4657, allocations: 407.5 kB / 446 MB, free: 8.133 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.4657, allocations: 3.938 kB / 446 MB, free: 8.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008349/0.4665, allocations: 466.6 kB / 446.5 MB, free: 7.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.097e-05/0.4666, allocations: 37.69 kB / 446.5 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.4666, allocations: 4 kB / 446.5 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.512e-05/0.4666, allocations: 4 kB / 446.5 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.4668, allocations: 43.86 kB / 446.6 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.591e-05/0.4668, allocations: 8 kB / 446.6 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002784/0.4671, allocations: 64.08 kB / 446.6 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-05/0.4671, allocations: 20 kB / 446.6 MB, free: 7.477 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.0003671/0.4675, allocations: 248.9 kB / 446.9 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.439e-05/0.4676, allocations: 47.67 kB / 446.9 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000777/0.4683, allocations: 390.7 kB / 447.3 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.238e-06/0.4683, allocations: 4 kB / 447.3 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.4683, allocations: 0 / 447.3 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.4684, allocations: 4 kB / 447.3 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001184/0.4695, allocations: 0.7151 MB / 448 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.4695, allocations: 0 / 448 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.415e-05/0.4696, allocations: 19.92 kB / 448.1 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.4696, allocations: 0 / 448.1 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.794e-05/0.4696, allocations: 16 kB / 448.1 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.4696, allocations: 0 / 448.1 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.4696, allocations: 7.984 kB / 448.1 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000765/0.4704, allocations: 0.4924 MB / 448.6 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.997e-05/0.4705, allocations: 43.64 kB / 448.6 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.281e-05/0.4706, allocations: 16 kB / 448.6 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002014/0.4708, allocations: 23.98 kB / 448.7 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/0.4709, allocations: 43.92 kB / 448.7 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.803e-05/0.471, allocations: 19.94 kB / 448.7 MB, free: 5.293 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003989/0.4713, allocations: 327.1 kB / 449 MB, free: 4.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4713, allocations: 0 / 449 MB, free: 4.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005272/0.4719, allocations: 111.8 kB / 449.1 MB, free: 4.871 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 (34): * Single equations (assignments): 28 * 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.002588/0.4745, allocations: 1.383 MB / 450.5 MB, free: 3.594 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007737/0.4752, allocations: 363 kB / 450.9 MB, free: 3.227 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4752, allocations: 0 / 450.9 MB, free: 3.227 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003507/0.4756, allocations: 203.2 kB / 451.1 MB, free: 3.016 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005978/0.4762, allocations: 85.11 kB / 451.2 MB, free: 2.938 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005628/0.4818, allocations: 4.03 MB / 455.2 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004892/0.4823, allocations: 0.8356 MB / 456 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002238/0.4825, allocations: 75.25 kB / 456.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002308/0.4828, allocations: 155.4 kB / 456.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of SimCode: time 1.794e-06/0.4828, allocations: 0 / 456.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04434/0.5271, allocations: 10.33 MB / 466.6 MB, free: 3.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.99, allocations: 11.98 kB / 466.6 MB, free: 3.328 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.775217669957783] 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.214032164018136 12.231130245 11.773228723 Calling exit ...