Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.OnDelay.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.001309/0.001309, allocations: 120 kB / 18.5 MB, free: 4.52 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.00145/0.00145, allocations: 213.6 kB / 21.46 MB, free: 1.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.494/1.494, allocations: 230.4 MB / 254.7 MB, free: 15.2 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2386/0.2386, allocations: 46.93 MB / 357.7 MB, free: 10.23 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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(ModelicaTest.Blocks.OnDelay,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_OnDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.OnDelay,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_OnDelay",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica 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.002297/0.002297, allocations: 84.19 kB / 0.4917 GB, free: 7.793 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1352, allocations: 66.04 MB / 0.5561 GB, free: 5.625 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.00367/0.1389, allocations: 1.927 MB / 0.558 GB, free: 3.676 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00224/0.1411, allocations: 1.196 MB / 0.5592 GB, free: 2.473 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000134/0.1413, allocations: 0 / 0.5592 GB, free: 2.473 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007164/0.142, allocations: 182.8 kB / 0.5594 GB, free: 2.297 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004448/0.1424, allocations: 171.3 kB / 0.5595 GB, free: 2.129 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004545/0.1429, allocations: 159.5 kB / 0.5597 GB, free: 1.973 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003856/0.1433, allocations: 279.3 kB / 0.56 GB, free: 1.699 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.1434, allocations: 21.67 kB / 0.56 GB, free: 1.68 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001746/0.1436, allocations: 119.5 kB / 0.5601 GB, free: 1.562 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001856/0.1437, allocations: 127.6 kB / 0.5602 GB, free: 1.438 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.074e-05/0.1438, allocations: 16 kB / 0.5602 GB, free: 1.422 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001641/0.144, allocations: 71.89 kB / 0.5603 GB, free: 1.352 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.107e-05/0.144, allocations: 59.83 kB / 0.5603 GB, free: 1.293 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001389/0.1442, allocations: 111.4 kB / 0.5605 GB, free: 1.184 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004257/0.1446, allocations: 286.9 kB / 0.5607 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1446, allocations: 0 / 0.5607 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.1446, allocations: 0 / 0.5607 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.1446, allocations: 3.938 kB / 0.5607 GB, free: 0.8984 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.001085/0.1457, allocations: 0.6725 MB / 0.5614 GB, free: 156 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.1457, allocations: 11.97 kB / 0.5614 GB, free: 144 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.204e-05/0.1458, allocations: 46.75 kB / 0.5614 GB, free: 88 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.703e-05/0.1459, allocations: 28.8 kB / 0.5615 GB, free: 60 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004449/0.1463, allocations: 279.8 kB / 0.5617 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/0.1464, allocations: 93.67 kB / 0.5618 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.213e-05/0.1465, allocations: 16.38 kB / 0.5618 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000366/0.1468, allocations: 165 kB / 0.562 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.1468, allocations: 0 / 0.562 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/0.1469, allocations: 4 kB / 0.562 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.1469, allocations: 0 / 0.562 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002866/0.1472, allocations: 95.86 kB / 0.5621 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000973/0.1481, allocations: 0.6063 MB / 0.5627 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003766/0.1485, allocations: 159.9 kB / 0.5628 GB, free: 14.5 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001852/0.1487, allocations: 74.53 kB / 0.5629 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.1487, allocations: 0 / 0.5629 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005459/0.1493, allocations: 441.1 kB / 0.5633 GB, free: 13.91 MB / 430.1 MB Notification: Performance of pre-optimization done (n=23): time 1.482e-06/0.1493, allocations: 0 / 0.5633 GB, free: 13.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=23): time 0.0009477/0.1502, allocations: 438.5 kB / 0.5638 GB, free: 13.45 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001596/0.1504, allocations: 217.5 kB / 0.564 GB, free: 13.19 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004154/0.1508, allocations: 334.5 kB / 0.5643 GB, free: 12.86 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.707e-05/0.1508, allocations: 33.7 kB / 0.5643 GB, free: 12.82 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.151, allocations: 136.7 kB / 0.5644 GB, free: 12.68 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.649e-05/0.151, allocations: 55.58 kB / 0.5645 GB, free: 12.62 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.111e-05/0.1511, allocations: 57.62 kB / 0.5645 GB, free: 12.56 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.1513, allocations: 338.8 kB / 0.5649 GB, free: 12.22 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.1515, allocations: 59.95 kB / 0.5649 GB, free: 12.16 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002256/0.1517, allocations: 146.2 kB / 0.5651 GB, free: 11.98 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004804/0.1522, allocations: 363.3 kB / 0.5654 GB, free: 11.56 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.1522, allocations: 4 kB / 0.5654 GB, free: 11.56 MB / 430.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005631/0.1527, allocations: 350.4 kB / 0.5658 GB, free: 11.19 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.658e-05/0.1528, allocations: 101 kB / 0.5658 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1528, allocations: 0 / 0.5658 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.1529, allocations: 4 kB / 0.5659 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.153, allocations: 23.92 kB / 0.5659 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.153, allocations: 4 kB / 0.5659 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001428/0.1531, allocations: 27.88 kB / 0.5659 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.014e-05/0.1531, allocations: 8 kB / 0.5659 GB, free: 11.01 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 29 ($PRE.onDelay1.u,$PRE.onDelay1.t_next,$PRE.onDelay3.u,$PRE.onDelay3.t_next,$PRE.onDelay2.u,$PRE.onDelay2.t_next,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition5,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,onDelay1.t_next,onDelay1.delaySignal,onDelay1.y,onDelay1.u,$whenCondition7,$whenCondition6,onDelay2.t_next,onDelay2.delaySignal,onDelay2.y,onDelay2.u,$whenCondition4,$whenCondition3,onDelay3.t_next,onDelay3.delaySignal,onDelay3.y,onDelay3.u,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 3 * 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.0002706/0.1534, allocations: 265.6 kB / 0.5662 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.097e-05/0.1535, allocations: 39.8 kB / 0.5662 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.338e-05/0.1535, allocations: 25.7 kB / 0.5662 GB, free: 10.65 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.1536, allocations: 4 kB / 0.5662 GB, free: 10.65 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.1536, allocations: 0 / 0.5662 GB, free: 10.65 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.1536, allocations: 0 / 0.5662 GB, free: 10.65 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003325/0.1539, allocations: 297.4 kB / 0.5665 GB, free: 10.31 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.1539, allocations: 3.938 kB / 0.5665 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.712e-05/0.1539, allocations: 4 kB / 0.5665 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.1539, allocations: 11.94 kB / 0.5665 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.562e-05/0.154, allocations: 12 kB / 0.5665 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.154, allocations: 4 kB / 0.5666 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.154, allocations: 3.984 kB / 0.5666 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007092/0.1547, allocations: 439.5 kB / 0.567 GB, free: 9.797 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.987e-05/0.1548, allocations: 105 kB / 0.5671 GB, free: 9.676 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.712e-05/0.1548, allocations: 15.94 kB / 0.5671 GB, free: 9.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.1549, allocations: 15.98 kB / 0.5671 GB, free: 9.645 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.642e-05/0.155, allocations: 19.98 kB / 0.5671 GB, free: 9.625 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.201e-05/0.1551, allocations: 12 kB / 0.5671 GB, free: 9.613 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002945/0.1554, allocations: 241.9 kB / 0.5674 GB, free: 9.375 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1554, allocations: 0 / 0.5674 GB, free: 9.375 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003434/0.1557, allocations: 67.89 kB / 0.5674 GB, free: 9.309 MB / 430.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: 21 ($whenCondition5,$whenCondition6,$whenCondition7,onDelay1.u,onDelay1.y,onDelay1.delaySignal,onDelay1.t_next,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,$whenCondition4,onDelay2.u,onDelay2.y,onDelay2.delaySignal,onDelay2.t_next,$whenCondition1,$whenCondition2,onDelay3.u,onDelay3.y,onDelay3.delaySignal,onDelay3.t_next) * Number of discrete states: 14 (onDelay3.t_next,onDelay3.delaySignal,$whenCondition2,$whenCondition1,onDelay2.t_next,onDelay2.delaySignal,$whenCondition4,$whenCondition3,booleanTable.combiTimeTable.nextTimeEventScaled,onDelay1.t_next,onDelay1.delaySignal,$whenCondition7,$whenCondition6,booleanTable.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 3 * 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.002572/0.1583, allocations: 1.324 MB / 0.5687 GB, free: 8.074 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006288/0.1589, allocations: 354 kB / 0.5691 GB, free: 7.691 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.1589, allocations: 4 kB / 0.5691 GB, free: 7.688 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003579/0.1593, allocations: 274.1 kB / 0.5693 GB, free: 7.383 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003602/0.1596, allocations: 48.53 kB / 0.5694 GB, free: 7.336 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004061/0.1637, allocations: 2.855 MB / 0.5722 GB, free: 4.316 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004222/0.1641, allocations: 0.7556 MB / 0.5729 GB, free: 3.531 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001114/0.1642, allocations: 25.55 kB / 0.5729 GB, free: 3.508 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.1643, allocations: 67.41 kB / 0.573 GB, free: 3.441 MB / 430.1 MB Notification: Performance of SimCode: time 1.072e-06/0.1643, allocations: 4 kB / 0.573 GB, free: 3.438 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02999/0.1943, allocations: 6.287 MB / 0.5791 GB, free: 13.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.291/8.485, allocations: 15.8 kB / 0.5791 GB, free: 13.19 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.OnDelay.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.OnDelay.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.OnDelay.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.OnDelay.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.OnDelay_res.csv --start-time 0 --stop-time 11 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00219124 ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_OnDelay.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.OnDelay.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.632375849876553] Failed to read output from testmodel.py, exit status != 0: ['time', 'booleanTable.y', 'onDelay1.delaySignal', 'onDelay1.t_next', 'onDelay1.u', 'onDelay2.delaySignal', 'onDelay2.t_next', 'onDelay2.u', 'onDelay3.delaySignal', 'onDelay3.t_next', 'onDelay3.u'] 8.607739956583828 8.633526867 8.484691876 Calling exit ...