Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001314/0.001314, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001598/0.001598, allocations: 213.2 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.493/1.493, allocations: 230.6 MB / 258.3 MB, free: 8.051 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-beta.om/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_4_1_0-beta_om_Modelica_Blocks_Examples_BooleanNetwork1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.BooleanNetwork1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_BooleanNetwork1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 64.91 kB / 378.5 MB, free: 3.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.2699, allocations: 53.38 MB / 431.9 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BooleanNetwork1): time 0.004401/0.2743, allocations: 2.514 MB / 434.4 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002847/0.2772, allocations: 1.5 MB / 435.9 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002171/0.2774, allocations: 11.94 kB / 435.9 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007582/0.2782, allocations: 250.9 kB / 436.2 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004891/0.2786, allocations: 207 kB / 436.4 MB, free: 2.383 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006827/0.2793, allocations: 275.3 kB / 436.7 MB, free: 2.113 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005727/0.2799, allocations: 479.7 kB / 437.1 MB, free: 1.645 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003033/0.2802, allocations: 142.3 kB / 437.3 MB, free: 1.496 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002539/0.2805, allocations: 207.2 kB / 437.5 MB, free: 1.293 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002792/0.2807, allocations: 226.9 kB / 437.7 MB, free: 1.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.525e-05/0.2808, allocations: 40 kB / 437.7 MB, free: 1.031 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002691/0.2811, allocations: 131.9 kB / 437.9 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001378/0.2812, allocations: 127.6 kB / 438 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002022/0.2814, allocations: 218.7 kB / 438.2 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007454/0.2822, allocations: 0.5724 MB / 438.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2822, allocations: 0 / 438.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2822, allocations: 0 / 438.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.2822, allocations: 0 / 438.8 MB, free: 15.99 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.001315/0.2835, allocations: 0.7988 MB / 439.6 MB, free: 15.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.2835, allocations: 12.03 kB / 439.6 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.547e-05/0.2836, allocations: 74.72 kB / 439.7 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002732/0.2839, allocations: 72.55 kB / 439.7 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005074/0.2844, allocations: 337.5 kB / 440.1 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.873e-05/0.2845, allocations: 92.66 kB / 440.1 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.371e-05/0.2845, allocations: 43.94 kB / 440.2 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006793/0.2852, allocations: 436.7 kB / 440.6 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.2852, allocations: 0 / 440.6 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.129e-05/0.2852, allocations: 12 kB / 440.6 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.436e-05/0.2853, allocations: 12.44 kB / 440.6 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004865/0.2858, allocations: 269.5 kB / 440.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001915/0.2877, allocations: 1.624 MB / 442.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005675/0.2882, allocations: 283.8 kB / 442.8 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000221/0.2885, allocations: 114.5 kB / 442.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.211e-05/0.2885, allocations: 8 kB / 442.9 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004574/0.289, allocations: 321.5 kB / 443.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 1.613e-06/0.289, allocations: 0 / 443.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.000943/0.2899, allocations: 484.5 kB / 443.7 MB, free: 10.76 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.29, allocations: 158.2 kB / 443.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000548/0.2906, allocations: 0.4897 MB / 444.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.642e-05/0.2906, allocations: 45.69 kB / 444.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.2908, allocations: 232.9 kB / 444.6 MB, free: 9.789 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.491e-05/0.2909, allocations: 95.34 kB / 444.7 MB, free: 9.695 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001445/0.291, allocations: 118.1 kB / 444.8 MB, free: 9.574 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.2912, allocations: 358.7 kB / 445.2 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002345/0.2914, allocations: 116.9 kB / 445.3 MB, free: 9.098 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00035/0.2918, allocations: 266 kB / 445.6 MB, free: 8.777 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005414/0.2923, allocations: 398.6 kB / 446 MB, free: 8.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.165e-06/0.2923, allocations: 4 kB / 446 MB, free: 8.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0007499/0.2931, allocations: 466.5 kB / 446.4 MB, free: 7.848 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.601e-05/0.2931, allocations: 38.17 kB / 446.4 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.2931, allocations: 8 kB / 446.5 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.2931, allocations: 8 kB / 446.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.2933, allocations: 43.84 kB / 446.5 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.2933, allocations: 8 kB / 446.5 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002244/0.2935, allocations: 51.66 kB / 446.6 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-05/0.2936, allocations: 20 kB / 446.6 MB, free: 7.668 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.0002822/0.2938, allocations: 260.8 kB / 446.8 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.227e-05/0.2939, allocations: 51.67 kB / 446.9 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006931/0.2946, allocations: 385.9 kB / 447.3 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.2946, allocations: 4 kB / 447.3 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.2946, allocations: 4 kB / 447.3 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.2946, allocations: 3.984 kB / 447.3 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.2956, allocations: 0.7161 MB / 448 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.2956, allocations: 0 / 448 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.805e-05/0.2957, allocations: 15.94 kB / 448 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.2957, allocations: 4 kB / 448 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.742e-05/0.2957, allocations: 11.98 kB / 448 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.2957, allocations: 4 kB / 448 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2957, allocations: 0 / 448 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006891/0.2964, allocations: 496.4 kB / 448.5 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.511e-05/0.2965, allocations: 47.64 kB / 448.6 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.222e-05/0.2965, allocations: 12 kB / 448.6 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000196/0.2967, allocations: 23.97 kB / 448.6 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/0.2969, allocations: 51.81 kB / 448.6 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.117e-05/0.2969, allocations: 15.98 kB / 448.7 MB, free: 5.488 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003572/0.2972, allocations: 331.1 kB / 449 MB, free: 5.164 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2972, allocations: 3.938 kB / 449 MB, free: 5.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004452/0.2977, allocations: 115.8 kB / 449.1 MB, free: 5.047 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.002405/0.3001, allocations: 1.375 MB / 450.5 MB, free: 3.793 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006676/0.3008, allocations: 376.1 kB / 450.8 MB, free: 3.414 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3008, allocations: 256 / 450.8 MB, free: 3.414 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003126/0.3011, allocations: 202.4 kB / 451 MB, free: 3.207 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005124/0.3016, allocations: 84.91 kB / 451.1 MB, free: 3.129 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005174/0.3068, allocations: 4.025 MB / 455.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004715/0.3072, allocations: 0.8473 MB / 456 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002084/0.3074, allocations: 71.56 kB / 456.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002166/0.3077, allocations: 155.4 kB / 456.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of SimCode: time 7.22e-07/0.3077, allocations: 0 / 456.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03537/0.343, allocations: 10.21 MB / 466.4 MB, free: 3.664 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.438/8.781, allocations: 4.062 kB / 466.4 MB, free: 3.66 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BooleanNetwork1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BooleanNetwork1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BooleanNetwork1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BooleanNetwork1.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BooleanNetwork1_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00197981 Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_BooleanNetwork1.fmu > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BooleanNetwork1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.337683913297951] 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]'] 8.946840059943497 8.970974262 8.684339753 Calling exit ...