Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.BooleanNetwork1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 105.1 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 212.6 kB / 24.51 MB, free: 3.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.414/1.414, allocations: 230.6 MB / 258.3 MB, free: 7.793 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.BooleanNetwork1,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_BooleanNetwork1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.BooleanNetwork1,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_BooleanNetwork1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 39.94 kB / 378.5 MB, free: 2.973 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2548, allocations: 53.37 MB / 431.9 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BooleanNetwork1): time 0.004321/0.2591, allocations: 2.394 MB / 434.3 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002653/0.2617, allocations: 1.414 MB / 435.7 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001984/0.2619, allocations: 15.94 kB / 435.7 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008333/0.2628, allocations: 254.8 kB / 435.9 MB, free: 2.555 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005009/0.2633, allocations: 215 kB / 436.1 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006421/0.2639, allocations: 263.4 kB / 436.4 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005535/0.2645, allocations: 483.7 kB / 436.9 MB, free: 1.613 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002955/0.2648, allocations: 150.1 kB / 437 MB, free: 1.461 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002291/0.265, allocations: 195.2 kB / 437.2 MB, free: 1.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002651/0.2653, allocations: 231 kB / 437.4 MB, free: 1.043 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.072e-05/0.2653, allocations: 36 kB / 437.5 MB, free: 1.008 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002993/0.2656, allocations: 123.9 kB / 437.6 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001576/0.2658, allocations: 135.5 kB / 437.7 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001878/0.266, allocations: 171 kB / 437.9 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000729/0.2667, allocations: 0.57 MB / 438.5 MB, free: 16 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.2667, allocations: 0 / 438.5 MB, free: 16 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2667, allocations: 3.938 kB / 438.5 MB, free: 12 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.253e-06/0.2667, allocations: 0 / 438.5 MB, free: 12 kB / 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.001411/0.2681, allocations: 0.7989 MB / 439.3 MB, free: 15.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.2682, allocations: 12.03 kB / 439.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.673e-05/0.2682, allocations: 9.188 kB / 439.3 MB, free: 15.15 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.281e-05/0.2683, allocations: 70.72 kB / 439.4 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002913/0.2686, allocations: 76.55 kB / 439.4 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005427/0.2691, allocations: 324.5 kB / 439.7 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.317e-05/0.2692, allocations: 92.52 kB / 439.8 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.718e-05/0.2692, allocations: 40 kB / 439.9 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007592/0.27, allocations: 488 kB / 440.4 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.27, allocations: 3.938 kB / 440.4 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.744e-05/0.2701, allocations: 15.98 kB / 440.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.268e-05/0.2701, allocations: 12.44 kB / 440.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005192/0.2706, allocations: 299.2 kB / 440.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001993/0.2726, allocations: 1.562 MB / 442.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000609/0.2732, allocations: 305.6 kB / 442.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002486/0.2735, allocations: 136.2 kB / 442.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.198e-05/0.2735, allocations: 11.98 kB / 442.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005422/0.2741, allocations: 359.8 kB / 443 MB, free: 11.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 2.003e-06/0.2741, allocations: 0 / 443 MB, free: 11.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.001022/0.2751, allocations: 0.5434 MB / 443.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/0.2752, allocations: 162.2 kB / 443.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006207/0.2758, allocations: 0.4936 MB / 444.2 MB, free: 9.859 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.07e-05/0.2759, allocations: 41.7 kB / 444.3 MB, free: 9.812 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002099/0.2761, allocations: 236.9 kB / 444.5 MB, free: 9.578 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.2762, allocations: 87.36 kB / 444.6 MB, free: 9.492 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001734/0.2764, allocations: 122.1 kB / 444.7 MB, free: 9.367 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002121/0.2766, allocations: 362.7 kB / 445.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002673/0.2768, allocations: 142.6 kB / 445.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004249/0.2773, allocations: 351.2 kB / 445.5 MB, free: 8.434 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006587/0.2779, allocations: 402.5 kB / 445.9 MB, free: 7.973 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.2779, allocations: 0 / 445.9 MB, free: 7.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008466/0.2788, allocations: 0.4962 MB / 446.4 MB, free: 7.457 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.847e-05/0.2788, allocations: 33.7 kB / 446.5 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.2788, allocations: 4 kB / 446.5 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.2788, allocations: 4 kB / 446.5 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.279, allocations: 48.31 kB / 446.5 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.679e-05/0.279, allocations: 15.94 kB / 446.5 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002418/0.2793, allocations: 51.7 kB / 446.6 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.116e-05/0.2793, allocations: 23.94 kB / 446.6 MB, free: 7.273 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.0003343/0.2796, allocations: 248.6 kB / 446.9 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.187e-05/0.2797, allocations: 47.67 kB / 446.9 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007953/0.2805, allocations: 422 kB / 447.3 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.2805, allocations: 4.312 kB / 447.3 MB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.2805, allocations: 0 / 447.3 MB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.2805, allocations: 7.984 kB / 447.3 MB, free: 6.531 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/0.2816, allocations: 0.6848 MB / 448 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.2816, allocations: 4 kB / 448 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.401e-05/0.2817, allocations: 15.98 kB / 448 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.2817, allocations: 4 kB / 448 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.712e-05/0.2817, allocations: 8 kB / 448 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/0.2817, allocations: 7.938 kB / 448 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.2817, allocations: 4 kB / 448.1 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007625/0.2825, allocations: 0.533 MB / 448.6 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.14e-05/0.2826, allocations: 39.66 kB / 448.6 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.05e-05/0.2826, allocations: 12 kB / 448.6 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/0.2828, allocations: 23.97 kB / 448.7 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/0.283, allocations: 47.88 kB / 448.7 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.519e-05/0.283, allocations: 19.98 kB / 448.7 MB, free: 5.043 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003858/0.2834, allocations: 331.1 kB / 449 MB, free: 4.719 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2834, allocations: 4 kB / 449.1 MB, free: 4.715 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005253/0.2839, allocations: 115.8 kB / 449.2 MB, free: 4.602 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.00273/0.2866, allocations: 1.444 MB / 450.6 MB, free: 3.301 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007679/0.2874, allocations: 434.5 kB / 451 MB, free: 2.852 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.2874, allocations: 0 / 451 MB, free: 2.852 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003656/0.2878, allocations: 236.9 kB / 451.3 MB, free: 2.602 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005434/0.2883, allocations: 80.95 kB / 451.3 MB, free: 2.531 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006116/0.2944, allocations: 4.191 MB / 455.5 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.2947, allocations: 246.8 kB / 455.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000237/0.2949, allocations: 79.5 kB / 455.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002468/0.2952, allocations: 159.4 kB / 456 MB, free: 13.59 MB / 366.1 MB Notification: Performance of SimCode: time 7.51e-07/0.2952, allocations: 0 / 456 MB, free: 13.59 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03325/0.3284, allocations: 10.61 MB / 466.6 MB, free: 3.133 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.83, allocations: 17.12 kB / 466.6 MB, free: 3.125 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.BooleanNetwork1.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.BooleanNetwork1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.BooleanNetwork1.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.BooleanNetwork1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Blocks.Examples.BooleanNetwork1_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Blocks_Examples_BooleanNetwork1_fmu --startTime=0 --stopTime=10 --stepSize=0.00197981 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Blocks_Examples_BooleanNetwork1.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.BooleanNetwork1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.229785328963771] 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.052414412028156 12.068208681 11.79854458 Calling exit ...