Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.BooleanNetwork1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 101.5 kB / 21.21 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 191.5 kB / 24.49 MB, free: 3.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 225.7 MB / 253.3 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.BooleanNetwork1,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_BooleanNetwork1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.BooleanNetwork1,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_BooleanNetwork1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001736/0.001736, allocations: 51.92 kB / 371.2 MB, free: 9.676 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2494, allocations: 52.18 MB / 423.4 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BooleanNetwork1): time 0.00436/0.2538, allocations: 2.389 MB / 425.7 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00249/0.2563, allocations: 1.282 MB / 427 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002576/0.2565, allocations: 11.88 kB / 427 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008119/0.2573, allocations: 238.9 kB / 427.3 MB, free: 10.45 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004906/0.2578, allocations: 167.2 kB / 427.4 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008671/0.2587, allocations: 302.8 kB / 427.7 MB, free: 9.992 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006663/0.2594, allocations: 475.7 kB / 428.2 MB, free: 9.527 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003279/0.2597, allocations: 150.2 kB / 428.3 MB, free: 9.375 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003226/0.26, allocations: 199.2 kB / 428.5 MB, free: 9.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003475/0.2604, allocations: 223 kB / 428.7 MB, free: 8.961 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.133e-05/0.2604, allocations: 36 kB / 428.8 MB, free: 8.926 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002857/0.2607, allocations: 127.9 kB / 428.9 MB, free: 8.801 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001568/0.2609, allocations: 127.5 kB / 429 MB, free: 8.676 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001986/0.2611, allocations: 175 kB / 429.2 MB, free: 8.504 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007878/0.2619, allocations: 0.5622 MB / 429.8 MB, free: 7.941 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2619, allocations: 0 / 429.8 MB, free: 7.941 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.2619, allocations: 0 / 429.8 MB, free: 7.941 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.25e-05/0.2619, allocations: 4 kB / 429.8 MB, free: 7.938 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001637/0.2635, allocations: 0.7941 MB / 430.6 MB, free: 7.102 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.2636, allocations: 8.031 kB / 430.6 MB, free: 7.094 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.864e-05/0.2636, allocations: 13.19 kB / 430.6 MB, free: 7.082 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.619e-05/0.2637, allocations: 78.66 kB / 430.7 MB, free: 6.996 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000194/0.2639, allocations: 60.56 kB / 430.7 MB, free: 6.938 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005937/0.2645, allocations: 331.9 kB / 431 MB, free: 6.586 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/0.2646, allocations: 84.41 kB / 431.1 MB, free: 6.492 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.88e-05/0.2646, allocations: 40 kB / 431.2 MB, free: 6.453 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008343/0.2655, allocations: 484.1 kB / 431.6 MB, free: 5.926 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.313e-05/0.2655, allocations: 4 kB / 431.6 MB, free: 5.922 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.338e-05/0.2655, allocations: 15.98 kB / 431.7 MB, free: 5.906 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.179e-05/0.2656, allocations: 16.44 kB / 431.7 MB, free: 5.891 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005877/0.2662, allocations: 307 kB / 432 MB, free: 5.582 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002257/0.2684, allocations: 1.558 MB / 433.5 MB, free: 3.945 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006302/0.269, allocations: 313.6 kB / 433.8 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002577/0.2693, allocations: 144.2 kB / 434 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.352e-05/0.2694, allocations: 11.98 kB / 434 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005303/0.2699, allocations: 358.3 kB / 434.3 MB, free: 3.043 MB / 334.1 MB Notification: Performance of pre-optimization done (n=37): time 2.414e-06/0.2699, allocations: 0 / 434.3 MB, free: 3.043 MB / 334.1 MB Notification: Performance of matching and sorting (n=37): time 0.00112/0.271, allocations: 0.543 MB / 434.9 MB, free: 2.477 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/0.2711, allocations: 166.2 kB / 435 MB, free: 2.277 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006043/0.2717, allocations: 493.4 kB / 435.5 MB, free: 1.785 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.66e-05/0.2718, allocations: 41.7 kB / 435.6 MB, free: 1.738 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000202/0.272, allocations: 241 kB / 435.8 MB, free: 1.5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.2721, allocations: 91.3 kB / 435.9 MB, free: 1.41 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/0.2723, allocations: 114.2 kB / 436 MB, free: 1.293 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.2724, allocations: 358.8 kB / 436.4 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002632/0.2727, allocations: 150.6 kB / 436.5 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004275/0.2731, allocations: 347.1 kB / 436.8 MB, free: 368 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006504/0.2738, allocations: 418.6 kB / 437.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.2738, allocations: 4 kB / 437.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008989/0.2747, allocations: 0.5004 MB / 437.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.148e-05/0.2747, allocations: 38.16 kB / 437.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.2748, allocations: 11.94 kB / 437.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.719e-05/0.2748, allocations: 8 kB / 437.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.2749, allocations: 43.86 kB / 437.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-05/0.275, allocations: 7.938 kB / 437.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002545/0.2752, allocations: 55.7 kB / 437.9 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.906e-05/0.2753, allocations: 24 kB / 437.9 MB, free: 15.17 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.0003085/0.2756, allocations: 252.9 kB / 438.2 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.852e-05/0.2757, allocations: 43.72 kB / 438.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008525/0.2765, allocations: 456.1 kB / 438.7 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.2765, allocations: 8 kB / 438.7 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.2765, allocations: 3.938 kB / 438.7 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.2765, allocations: 3.984 kB / 438.7 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001208/0.2777, allocations: 0.716 MB / 439.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/0.2778, allocations: 3.938 kB / 439.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.622e-05/0.2778, allocations: 15.94 kB / 439.4 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.2778, allocations: 4 kB / 439.4 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.055e-05/0.2779, allocations: 11.98 kB / 439.4 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.2779, allocations: 4 kB / 439.4 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/0.2779, allocations: 7.875 kB / 439.5 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007982/0.2787, allocations: 0.5466 MB / 440 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.262e-05/0.2787, allocations: 51.58 kB / 440.1 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.953e-05/0.2788, allocations: 12 kB / 440.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/0.279, allocations: 27.98 kB / 440.1 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.2791, allocations: 44.02 kB / 440.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.628e-05/0.2792, allocations: 19.94 kB / 440.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003693/0.2795, allocations: 327.1 kB / 440.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2795, allocations: 0 / 440.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00049/0.28, allocations: 119.7 kB / 440.6 MB, free: 12.41 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: 37 (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,nor1.y,or2.u[1],changing.y,$cse1,$cse2,$whenCondition6,$whenCondition5,$whenCondition4,and1.u[1],and1.u[2],booleanPulse1.pulseStart,booleanPulse2.pulseStart,or1.u[1],xor1.u[1],nand1.u[1],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 (37): * Single equations (assignments): 31 * 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.002789/0.2828, allocations: 1.458 MB / 442 MB, free: 11.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007708/0.2836, allocations: 438.5 kB / 442.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2836, allocations: 0 / 442.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00037/0.2839, allocations: 241.9 kB / 442.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005447/0.2845, allocations: 91.67 kB / 442.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005816/0.2903, allocations: 4.186 MB / 447 MB, free: 5.883 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/0.2906, allocations: 245 kB / 447.2 MB, free: 5.621 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002169/0.2908, allocations: 79.52 kB / 447.3 MB, free: 5.543 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002549/0.2911, allocations: 167.4 kB / 447.5 MB, free: 5.379 MB / 350.1 MB Notification: Performance of SimCode: time 3.9e-07/0.2911, allocations: 0 / 447.5 MB, free: 5.379 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03625/0.3273, allocations: 10.83 MB / 458.3 MB, free: 10.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/11.91, allocations: 4.062 kB / 458.3 MB, free: 10.67 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.BooleanNetwork1.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.BooleanNetwork1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.BooleanNetwork1.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.BooleanNetwork1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.BooleanNetwork1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_BooleanNetwork1_fmu --startTime=0 --stopTime=10 --stepSize=0.00197981 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_BooleanNetwork1.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.BooleanNetwork1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.2549901510356] 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.133138564997353 12.158638129 11.892031983 Calling exit ...