Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay.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.001333/0.001333, allocations: 121 kB / 18.5 MB, free: 4.562 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.001516/0.001516, allocations: 213.5 kB / 21.45 MB, free: 1.617 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.522/1.522, allocations: 230.6 MB / 254.8 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2477/0.2477, allocations: 46.93 MB / 357.8 MB, free: 10.31 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+maint.om/package.mo) 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(ModelicaTest.Blocks.OnDelay,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_OnDelay",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.OnDelay,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_OnDelay",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002186/0.002186, allocations: 67.91 kB / 0.4916 GB, free: 7.953 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1243, allocations: 65.99 MB / 0.5561 GB, free: 5.836 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.004036/0.1283, allocations: 1.918 MB / 0.5579 GB, free: 3.898 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002415/0.1307, allocations: 1.192 MB / 0.5591 GB, free: 2.699 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001676/0.1309, allocations: 4 kB / 0.5591 GB, free: 2.695 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006702/0.1316, allocations: 179.5 kB / 0.5593 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004936/0.1321, allocations: 175.3 kB / 0.5594 GB, free: 2.348 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005109/0.1326, allocations: 167.5 kB / 0.5596 GB, free: 2.184 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004791/0.1331, allocations: 275.3 kB / 0.5599 GB, free: 1.914 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.1332, allocations: 17.62 kB / 0.5599 GB, free: 1.898 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002468/0.1334, allocations: 119.6 kB / 0.56 GB, free: 1.781 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002412/0.1337, allocations: 131.5 kB / 0.5601 GB, free: 1.652 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.022e-05/0.1337, allocations: 16 kB / 0.5601 GB, free: 1.637 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002052/0.1339, allocations: 67.91 kB / 0.5602 GB, free: 1.57 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.1341, allocations: 63.81 kB / 0.5603 GB, free: 1.508 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.1342, allocations: 111.4 kB / 0.5604 GB, free: 1.398 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004402/0.1346, allocations: 282.8 kB / 0.5606 GB, free: 1.121 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.1346, allocations: 0 / 0.5606 GB, free: 1.121 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1346, allocations: 4 kB / 0.5606 GB, free: 1.117 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.1346, allocations: 0 / 0.5606 GB, free: 1.117 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.001103/0.1357, allocations: 0.6803 MB / 0.5613 GB, free: 372 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.1358, allocations: 8.031 kB / 0.5613 GB, free: 364 kB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.968e-05/0.1358, allocations: 4.188 kB / 0.5613 GB, free: 360 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.973e-05/0.1359, allocations: 42.73 kB / 0.5613 GB, free: 308 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.224e-05/0.1359, allocations: 28.8 kB / 0.5614 GB, free: 280 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004328/0.1364, allocations: 283.8 kB / 0.5616 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001134/0.1365, allocations: 97.22 kB / 0.5617 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.782e-05/0.1365, allocations: 12 kB / 0.5618 GB, free: 15.83 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003537/0.1369, allocations: 158.9 kB / 0.5619 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.1369, allocations: 0 / 0.5619 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.289e-05/0.1369, allocations: 8 kB / 0.5619 GB, free: 15.65 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.1369, allocations: 3.938 kB / 0.5619 GB, free: 15.65 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000249/0.1372, allocations: 87.94 kB / 0.562 GB, free: 15.56 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009062/0.1381, allocations: 0.6141 MB / 0.5626 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003689/0.1384, allocations: 151.9 kB / 0.5627 GB, free: 14.71 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001749/0.1386, allocations: 74.55 kB / 0.5628 GB, free: 14.63 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.1386, allocations: 0 / 0.5628 GB, free: 14.63 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005104/0.1391, allocations: 448.2 kB / 0.5632 GB, free: 14.12 MB / 430.1 MB Notification: Performance of pre-optimization done (n=23): time 1.482e-06/0.1391, allocations: 0 / 0.5632 GB, free: 14.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=23): time 0.0009575/0.1401, allocations: 446.8 kB / 0.5637 GB, free: 13.66 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001433/0.1402, allocations: 217.5 kB / 0.5639 GB, free: 13.4 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004024/0.1406, allocations: 326.6 kB / 0.5642 GB, free: 13.07 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.231e-05/0.1407, allocations: 37.7 kB / 0.5642 GB, free: 13.03 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.1408, allocations: 140.6 kB / 0.5644 GB, free: 12.89 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.419e-05/0.1409, allocations: 55.58 kB / 0.5644 GB, free: 12.83 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.598e-05/0.1409, allocations: 49.7 kB / 0.5645 GB, free: 12.78 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.1411, allocations: 338.8 kB / 0.5648 GB, free: 12.44 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001828/0.1413, allocations: 55.95 kB / 0.5648 GB, free: 12.38 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002228/0.1415, allocations: 146.2 kB / 0.565 GB, free: 12.2 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004482/0.142, allocations: 358.7 kB / 0.5653 GB, free: 11.79 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.142, allocations: 3.938 kB / 0.5653 GB, free: 11.78 MB / 430.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006009/0.1426, allocations: 354.3 kB / 0.5657 GB, free: 11.41 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.66e-05/0.1426, allocations: 97.09 kB / 0.5657 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.1426, allocations: 0 / 0.5657 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.1427, allocations: 4 kB / 0.5658 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.1428, allocations: 27.92 kB / 0.5658 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.1428, allocations: 4 kB / 0.5658 GB, free: 11.26 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.1429, allocations: 23.88 kB / 0.5658 GB, free: 11.24 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.241e-05/0.143, allocations: 12 kB / 0.5658 GB, free: 11.23 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.0002561/0.1432, allocations: 271.9 kB / 0.5661 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.275e-05/0.1433, allocations: 31.8 kB / 0.5661 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.196e-05/0.1433, allocations: 25.7 kB / 0.5661 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.1433, allocations: 4.188 kB / 0.5661 GB, free: 10.87 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.1434, allocations: 4 kB / 0.5661 GB, free: 10.87 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.1434, allocations: 3.984 kB / 0.5661 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003247/0.1437, allocations: 309.2 kB / 0.5664 GB, free: 10.51 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1437, allocations: 4 kB / 0.5664 GB, free: 10.51 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.354e-05/0.1437, allocations: 8 kB / 0.5664 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.1437, allocations: 0 / 0.5664 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.616e-05/0.1437, allocations: 11.98 kB / 0.5665 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.1437, allocations: 0 / 0.5665 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1437, allocations: 0 / 0.5665 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007305/0.1445, allocations: 454.8 kB / 0.5669 GB, free: 10 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.019e-05/0.1446, allocations: 101 kB / 0.567 GB, free: 9.887 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.374e-05/0.1446, allocations: 12 kB / 0.567 GB, free: 9.875 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.1447, allocations: 15.98 kB / 0.567 GB, free: 9.859 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.019e-05/0.1448, allocations: 19.98 kB / 0.567 GB, free: 9.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.064e-05/0.1448, allocations: 15.98 kB / 0.5671 GB, free: 9.824 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000286/0.1451, allocations: 238 kB / 0.5673 GB, free: 9.59 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1451, allocations: 0 / 0.5673 GB, free: 9.59 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003442/0.1455, allocations: 75.88 kB / 0.5674 GB, free: 9.516 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.002581/0.1481, allocations: 1.308 MB / 0.5686 GB, free: 8.312 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005992/0.1487, allocations: 357.8 kB / 0.569 GB, free: 7.926 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1487, allocations: 0 / 0.569 GB, free: 7.926 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000378/0.149, allocations: 270.1 kB / 0.5692 GB, free: 7.625 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.1494, allocations: 54.78 kB / 0.5693 GB, free: 7.578 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003958/0.1533, allocations: 2.859 MB / 0.5721 GB, free: 4.551 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004114/0.1538, allocations: 0.7556 MB / 0.5728 GB, free: 3.766 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.638e-05/0.1538, allocations: 29.83 kB / 0.5728 GB, free: 3.738 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.154, allocations: 75.34 kB / 0.5729 GB, free: 3.664 MB / 430.1 MB Notification: Performance of SimCode: time 3.41e-07/0.154, allocations: 0 / 0.5729 GB, free: 3.664 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02429/0.1783, allocations: 6.305 MB / 0.5791 GB, free: 13.43 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.65/8.828, allocations: 14.88 kB / 0.5791 GB, free: 13.42 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Blocks_OnDelay_fmu --startTime=0 --stopTime=11 --stepSize=0.00219124 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Blocks_OnDelay.fmu > ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.957543297030497] 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'] 9.009598118020222 9.025664426 8.887702644 Calling exit ...