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.001248/0.001248, allocations: 108.6 kB / 21.22 MB, free: 0.75 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.001271/0.001271, allocations: 195.7 kB / 24.5 MB, free: 4.008 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.382/1.382, allocations: 225.7 MB / 253.3 MB, free: 13.06 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.001422/0.001422, allocations: 43.94 kB / 371.2 MB, free: 9.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.247, allocations: 52.19 MB / 423.4 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BooleanNetwork1): time 0.00425/0.2512, allocations: 2.494 MB / 425.9 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00244/0.2537, allocations: 1.352 MB / 427.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001989/0.2539, allocations: 11.88 kB / 427.3 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008099/0.2547, allocations: 242.9 kB / 427.5 MB, free: 10.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004036/0.2551, allocations: 171.2 kB / 427.7 MB, free: 10.35 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007487/0.2558, allocations: 306.1 kB / 428 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005543/0.2564, allocations: 475.7 kB / 428.4 MB, free: 9.586 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002853/0.2567, allocations: 150.3 kB / 428.6 MB, free: 9.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002353/0.2569, allocations: 199.2 kB / 428.8 MB, free: 9.234 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002612/0.2572, allocations: 219 kB / 429 MB, free: 9.02 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.715e-05/0.2572, allocations: 36 kB / 429 MB, free: 8.984 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002506/0.2575, allocations: 131.9 kB / 429.2 MB, free: 8.855 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001402/0.2576, allocations: 127.6 kB / 429.3 MB, free: 8.73 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002075/0.2578, allocations: 222.7 kB / 429.5 MB, free: 8.512 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007117/0.2585, allocations: 0.5569 MB / 430.1 MB, free: 7.961 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2585, allocations: 0 / 430.1 MB, free: 7.961 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2585, allocations: 0 / 430.1 MB, free: 7.961 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.2585, allocations: 3.938 kB / 430.1 MB, free: 7.957 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.001383/0.2599, allocations: 0.7911 MB / 430.9 MB, free: 7.121 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.26, allocations: 12.03 kB / 430.9 MB, free: 7.109 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.035e-05/0.26, allocations: 13.19 kB / 430.9 MB, free: 7.098 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.479e-05/0.2601, allocations: 74.7 kB / 431 MB, free: 7.016 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001085/0.2602, allocations: 60.56 kB / 431 MB, free: 6.957 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005637/0.2607, allocations: 332.9 kB / 431.3 MB, free: 6.605 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.04e-05/0.2608, allocations: 84.41 kB / 431.4 MB, free: 6.508 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.034e-05/0.2609, allocations: 43.98 kB / 431.5 MB, free: 6.465 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007095/0.2616, allocations: 432.7 kB / 431.9 MB, free: 6.004 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.2616, allocations: 3.938 kB / 431.9 MB, free: 6 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.458e-05/0.2616, allocations: 16 kB / 431.9 MB, free: 5.984 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.906e-05/0.2617, allocations: 16.38 kB / 431.9 MB, free: 5.969 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005088/0.2622, allocations: 265.5 kB / 432.2 MB, free: 5.707 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002076/0.2643, allocations: 1.632 MB / 433.8 MB, free: 3.996 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006023/0.2649, allocations: 276 kB / 434.1 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002328/0.2651, allocations: 114.5 kB / 434.2 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.968e-05/0.2652, allocations: 15.92 kB / 434.2 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004957/0.2657, allocations: 332.5 kB / 434.5 MB, free: 3.199 MB / 334.1 MB Notification: Performance of pre-optimization done (n=37): time 1.844e-06/0.2657, allocations: 0 / 434.5 MB, free: 3.199 MB / 334.1 MB Notification: Performance of matching and sorting (n=37): time 0.0009845/0.2666, allocations: 484.3 kB / 435 MB, free: 2.715 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/0.2668, allocations: 178.1 kB / 435.2 MB, free: 2.504 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005424/0.2673, allocations: 493.4 kB / 435.7 MB, free: 2.012 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.56e-05/0.2674, allocations: 45.69 kB / 435.7 MB, free: 1.961 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001855/0.2675, allocations: 225 kB / 435.9 MB, free: 1.738 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.975e-05/0.2676, allocations: 95.3 kB / 436 MB, free: 1.645 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/0.2678, allocations: 118.2 kB / 436.1 MB, free: 1.523 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.268, allocations: 354.8 kB / 436.5 MB, free: 1.168 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000245/0.2682, allocations: 120.9 kB / 436.6 MB, free: 1.051 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000401/0.2686, allocations: 258.1 kB / 436.9 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005826/0.2692, allocations: 418.6 kB / 437.3 MB, free: 264 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-06/0.2692, allocations: 4 kB / 437.3 MB, free: 260 kB / 334.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.000806/0.27, allocations: 475 kB / 437.7 MB, free: 15.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.54e-05/0.2701, allocations: 45.78 kB / 437.8 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.2701, allocations: 4 kB / 437.8 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.2701, allocations: 4 kB / 437.8 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.2702, allocations: 43.86 kB / 437.8 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.598e-05/0.2703, allocations: 15.69 kB / 437.8 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002364/0.2705, allocations: 55.7 kB / 437.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.531e-05/0.2705, allocations: 20 kB / 437.9 MB, free: 15.59 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.0003096/0.2708, allocations: 252.6 kB / 438.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.493e-05/0.2709, allocations: 47.72 kB / 438.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007632/0.2717, allocations: 406.8 kB / 438.6 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.2717, allocations: 11.88 kB / 438.6 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.2717, allocations: 4 kB / 438.6 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.904e-06/0.2717, allocations: 3.984 kB / 438.6 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/0.2728, allocations: 0.7472 MB / 439.4 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.2728, allocations: 0 / 439.4 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.803e-05/0.2729, allocations: 15.98 kB / 439.4 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.2729, allocations: 0 / 439.4 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.943e-05/0.2729, allocations: 19.86 kB / 439.4 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.2729, allocations: 4 kB / 439.4 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.2729, allocations: 0 / 439.4 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007431/0.2737, allocations: 0.5101 MB / 439.9 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.997e-05/0.2737, allocations: 51.64 kB / 440 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.793e-05/0.2738, allocations: 12 kB / 440 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/0.274, allocations: 19.98 kB / 440 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/0.2741, allocations: 43.88 kB / 440 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.994e-05/0.2742, allocations: 23.98 kB / 440.1 MB, free: 13.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003543/0.2745, allocations: 331.1 kB / 440.4 MB, free: 13.01 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2745, allocations: 0 / 440.4 MB, free: 13.01 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004827/0.275, allocations: 119.7 kB / 440.5 MB, free: 12.89 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 (36): * Single equations (assignments): 30 * 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.002536/0.2776, allocations: 1.407 MB / 441.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007201/0.2783, allocations: 367.9 kB / 442.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2783, allocations: 0 / 442.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003392/0.2786, allocations: 207.2 kB / 442.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000537/0.2792, allocations: 88.8 kB / 442.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00558/0.2847, allocations: 4.029 MB / 446.6 MB, free: 6.707 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005218/0.2853, allocations: 0.8399 MB / 447.4 MB, free: 5.844 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002097/0.2855, allocations: 83.25 kB / 447.5 MB, free: 5.758 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002478/0.2857, allocations: 159.4 kB / 447.7 MB, free: 5.602 MB / 350.1 MB Notification: Performance of SimCode: time 7.01e-07/0.2857, allocations: 0 / 447.7 MB, free: 5.602 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03389/0.3196, allocations: 10.56 MB / 458.2 MB, free: 11.14 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.78, allocations: 7.062 kB / 458.2 MB, free: 11.14 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.1665756580187] 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]'] 11.991948224022053 12.00804467 11.746247501 Calling exit ...