Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.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.001674/0.001674, allocations: 109 kB / 21.23 MB, free: 0.6758 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.001991/0.001991, allocations: 209.2 kB / 24.53 MB, free: 4.039 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.396/1.396, allocations: 230.6 MB / 258.3 MB, free: 8.047 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.Clocked.Examples.Elementary.BooleanSignals.SubSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample",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.001918/0.001918, allocations: 64.77 kB / 378.5 MB, free: 3.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2555, allocations: 53.38 MB / 431.9 MB, free: 6.891 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.0035/0.259, allocations: 1.939 MB / 433.9 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002026/0.261, allocations: 1.216 MB / 435.1 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001217/0.2611, allocations: 7.938 kB / 435.1 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006255/0.2617, allocations: 159.5 kB / 435.2 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003869/0.2621, allocations: 151.4 kB / 435.4 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004904/0.2626, allocations: 178.8 kB / 435.6 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002679/0.2629, allocations: 187.5 kB / 435.7 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.263, allocations: 25.73 kB / 435.8 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.2631, allocations: 79.69 kB / 435.8 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001363/0.2633, allocations: 83.56 kB / 435.9 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.2633, allocations: 8 kB / 435.9 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.2634, allocations: 59.95 kB / 436 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.229e-05/0.2635, allocations: 43.84 kB / 436 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.001e-05/0.2636, allocations: 75.47 kB / 436.1 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003281/0.2639, allocations: 209.4 kB / 436.3 MB, free: 2.484 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2639, allocations: 0 / 436.3 MB, free: 2.484 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2639, allocations: 0 / 436.3 MB, free: 2.484 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.2639, allocations: 0 / 436.3 MB, free: 2.484 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007911/0.2647, allocations: 458.7 kB / 436.8 MB, free: 2 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.2648, allocations: 8.031 kB / 436.8 MB, free: 1.992 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.52e-05/0.2648, allocations: 38.75 kB / 436.8 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.3e-05/0.2649, allocations: 24.73 kB / 436.8 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003494/0.2652, allocations: 213.1 kB / 437 MB, free: 1.688 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.2652, allocations: 8.375 kB / 437 MB, free: 1.68 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.2653, allocations: 7.938 kB / 437.1 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003324/0.2656, allocations: 142.7 kB / 437.2 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.2656, allocations: 0 / 437.2 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.2656, allocations: 7.922 kB / 437.2 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.2656, allocations: 7.938 kB / 437.2 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.867e-05/0.2657, allocations: 31.92 kB / 437.2 MB, free: 1.461 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004946/0.2662, allocations: 345.4 kB / 437.6 MB, free: 1.074 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002317/0.2664, allocations: 103.9 kB / 437.7 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.681e-05/0.2665, allocations: 46.55 kB / 437.7 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/0.2666, allocations: 0 / 437.7 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001964/0.2668, allocations: 71.39 kB / 437.8 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.243e-06/0.2668, allocations: 4 kB / 437.8 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003562/0.2671, allocations: 153.4 kB / 438 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.735e-05/0.2672, allocations: 132.5 kB / 438.1 MB, free: 500 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002967/0.2675, allocations: 273 kB / 438.3 MB, free: 220 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.2675, allocations: 29.7 kB / 438.4 MB, free: 184 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.901e-05/0.2676, allocations: 116.1 kB / 438.5 MB, free: 64 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.373e-05/0.2676, allocations: 20.14 kB / 438.5 MB, free: 44 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-05/0.2677, allocations: 33.67 kB / 438.5 MB, free: 4 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002119/0.2679, allocations: 330.8 kB / 438.9 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.002e-05/0.268, allocations: 20 kB / 438.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.2681, allocations: 69.92 kB / 439 MB, free: 15.56 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.2682, allocations: 76.27 kB / 439 MB, free: 15.47 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2682, allocations: 0 / 439 MB, free: 15.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000205/0.2684, allocations: 113.5 kB / 439.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.2684, allocations: 8.125 kB / 439.1 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.2685, allocations: 4 kB / 439.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.2685, allocations: 0 / 439.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.999e-05/0.2685, allocations: 19.92 kB / 439.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.2686, allocations: 0 / 439.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.475e-05/0.2686, allocations: 11.88 kB / 439.2 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.2686, allocations: 4 kB / 439.2 MB, free: 15.31 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u,subSample1.y,subSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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.000132/0.2688, allocations: 145.8 kB / 439.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.578e-05/0.2688, allocations: 73.48 kB / 439.4 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002307/0.2691, allocations: 111.3 kB / 439.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.2691, allocations: 0 / 439.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2691, allocations: 0 / 439.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.2691, allocations: 8.312 kB / 439.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002107/0.2693, allocations: 200.6 kB / 439.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.2693, allocations: 8 kB / 439.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.429e-05/0.2693, allocations: 4 kB / 439.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2693, allocations: 0 / 439.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.2693, allocations: 64 / 439.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.2693, allocations: 8 kB / 439.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2693, allocations: 0 / 439.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002485/0.2696, allocations: 162.6 kB / 439.9 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.981e-05/0.2697, allocations: 35.77 kB / 439.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.151e-05/0.2697, allocations: 8 kB / 439.9 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.38e-05/0.2697, allocations: 4 kB / 439.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.42e-05/0.2698, allocations: 11.92 kB / 439.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.2698, allocations: 4 kB / 440 MB, free: 14.45 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002015/0.27, allocations: 200.5 kB / 440.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.27, allocations: 0 / 440.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002377/0.2702, allocations: 28 kB / 440.2 MB, free: 14.23 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: 7 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,subSample1.y,sample1.y,subSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001875/0.2721, allocations: 1.008 MB / 441.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002074/0.2723, allocations: 59.92 kB / 441.2 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2723, allocations: 4 kB / 441.2 MB, free: 13.28 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.948e-05/0.2724, allocations: 28.17 kB / 441.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.2728, allocations: 60.3 kB / 441.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002214/0.275, allocations: 1.944 MB / 443.3 MB, free: 11.13 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/0.2753, allocations: 0.7398 MB / 444 MB, free: 10.36 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.487e-05/0.2754, allocations: 25.45 kB / 444 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.241e-05/0.2755, allocations: 51.42 kB / 444.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2755, allocations: 0 / 444.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02914/0.3047, allocations: 4.715 MB / 448.8 MB, free: 5.617 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.862/8.167, allocations: 15.19 kB / 448.8 MB, free: 5.605 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.98963e-05 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.589474545791745] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'subSample1.y'] 8.30574166495353 8.329606063 8.060960979 Calling exit ...