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.001414/0.001414, allocations: 109 kB / 21.23 MB, free: 0.5117 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.001486/0.001486, allocations: 209.9 kB / 24.54 MB, free: 3.906 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.493/1.493, allocations: 230.5 MB / 258.2 MB, free: 8.219 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.2555/0.2555, allocations: 46.94 MB / 361.6 MB, free: 4.262 MB / 286.1 MB " [Timeout remaining time 179] 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.002343/0.002343, allocations: 83.84 kB / 0.497 GB, free: 7.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.412/0.4143, allocations: 66.09 MB / 0.5615 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.003685/0.418, allocations: 1.925 MB / 0.5634 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002098/0.4201, allocations: 1.212 MB / 0.5646 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.4202, allocations: 3.938 kB / 0.5646 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007014/0.4209, allocations: 183.4 kB / 0.5647 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004465/0.4213, allocations: 175.3 kB / 0.5649 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004269/0.4218, allocations: 163.6 kB / 0.5651 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00038/0.4221, allocations: 279.3 kB / 0.5653 GB, free: 436 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.4223, allocations: 27.77 kB / 0.5654 GB, free: 408 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.4224, allocations: 111.6 kB / 0.5655 GB, free: 296 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001959/0.4226, allocations: 135.4 kB / 0.5656 GB, free: 160 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.834e-05/0.4227, allocations: 16 kB / 0.5656 GB, free: 144 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001562/0.4228, allocations: 71.95 kB / 0.5657 GB, free: 72 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.274e-05/0.4229, allocations: 63.83 kB / 0.5657 GB, free: 8 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001488/0.4231, allocations: 111.5 kB / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004022/0.4235, allocations: 286.8 kB / 0.5661 GB, free: 15.61 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.4235, allocations: 0 / 0.5661 GB, free: 15.61 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4235, allocations: 0 / 0.5661 GB, free: 15.61 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.4235, allocations: 4 kB / 0.5661 GB, free: 15.61 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.001038/0.4245, allocations: 0.605 MB / 0.5667 GB, free: 14.95 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.4246, allocations: 8.031 kB / 0.5667 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.324e-05/0.4246, allocations: 50.67 kB / 0.5668 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.825e-05/0.4247, allocations: 28.8 kB / 0.5668 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003529/0.425, allocations: 221.5 kB / 0.567 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001433/0.4252, allocations: 170.8 kB / 0.5672 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.031e-05/0.4252, allocations: 16.38 kB / 0.5672 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003265/0.4255, allocations: 163.4 kB / 0.5673 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.4256, allocations: 0 / 0.5673 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.4256, allocations: 8 kB / 0.5674 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.4256, allocations: 7.984 kB / 0.5674 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002412/0.4258, allocations: 91.86 kB / 0.5674 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008535/0.4267, allocations: 0.5782 MB / 0.568 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003595/0.427, allocations: 159.9 kB / 0.5682 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.4272, allocations: 70.55 kB / 0.5682 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.941e-05/0.4272, allocations: 4 kB / 0.5682 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005198/0.4278, allocations: 433.1 kB / 0.5686 GB, free: 12.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=23): time 1.462e-06/0.4278, allocations: 0 / 0.5686 GB, free: 12.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008882/0.4286, allocations: 438.5 kB / 0.5691 GB, free: 12.26 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001552/0.4288, allocations: 225.5 kB / 0.5693 GB, free: 11.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003908/0.4292, allocations: 325.8 kB / 0.5696 GB, free: 11.67 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.218e-05/0.4292, allocations: 37.7 kB / 0.5696 GB, free: 11.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.4293, allocations: 136.6 kB / 0.5698 GB, free: 11.49 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.122e-05/0.4294, allocations: 55.58 kB / 0.5698 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.623e-05/0.4295, allocations: 45.7 kB / 0.5699 GB, free: 11.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.4297, allocations: 338.8 kB / 0.5702 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.4298, allocations: 60.33 kB / 0.5702 GB, free: 10.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002243/0.43, allocations: 142.2 kB / 0.5704 GB, free: 10.81 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004688/0.4305, allocations: 362.6 kB / 0.5707 GB, free: 10.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4305, allocations: 0 / 0.5707 GB, free: 10.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005767/0.4311, allocations: 350.4 kB / 0.5711 GB, free: 10.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.323e-05/0.4312, allocations: 97.03 kB / 0.5711 GB, free: 9.906 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.4312, allocations: 11.92 kB / 0.5712 GB, free: 9.895 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.4312, allocations: 4 kB / 0.5712 GB, free: 9.891 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.4313, allocations: 19.94 kB / 0.5712 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.4313, allocations: 0 / 0.5712 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.4315, allocations: 31.88 kB / 0.5712 GB, free: 9.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.4315, allocations: 12.22 kB / 0.5712 GB, free: 9.828 MB / 414.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.0002609/0.4317, allocations: 273.7 kB / 0.5715 GB, free: 9.535 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.401e-05/0.4318, allocations: 35.8 kB / 0.5715 GB, free: 9.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003826/0.4322, allocations: 209.4 kB / 0.5717 GB, free: 9.277 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.4322, allocations: 0 / 0.5717 GB, free: 9.277 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.4322, allocations: 4 kB / 0.5717 GB, free: 9.273 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/0.4322, allocations: 3.984 kB / 0.5717 GB, free: 9.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003028/0.4325, allocations: 264.5 kB / 0.572 GB, free: 8.969 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.4325, allocations: 4 kB / 0.572 GB, free: 8.965 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.957e-05/0.4325, allocations: 7.984 kB / 0.572 GB, free: 8.957 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.227e-06/0.4325, allocations: 3.938 kB / 0.572 GB, free: 8.953 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.396e-05/0.4326, allocations: 12 kB / 0.572 GB, free: 8.941 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.4326, allocations: 4 kB / 0.572 GB, free: 8.938 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4326, allocations: 0 / 0.572 GB, free: 8.938 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006878/0.4333, allocations: 455.3 kB / 0.5724 GB, free: 8.453 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.512e-05/0.4333, allocations: 31.73 kB / 0.5725 GB, free: 8.422 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.205e-05/0.4334, allocations: 11.94 kB / 0.5725 GB, free: 8.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.4335, allocations: 19.98 kB / 0.5725 GB, free: 8.391 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.409e-05/0.4336, allocations: 19.97 kB / 0.5725 GB, free: 8.371 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.93e-05/0.4336, allocations: 12 kB / 0.5725 GB, free: 8.359 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002841/0.4339, allocations: 241.2 kB / 0.5728 GB, free: 8.121 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4339, allocations: 8 kB / 0.5728 GB, free: 8.113 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003496/0.4342, allocations: 63.95 kB / 0.5728 GB, free: 8.051 MB / 414.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,onDelay1.t_next,onDelay1.delaySignal,$whenCondition7,$whenCondition6,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * 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.002658/0.4369, allocations: 1.308 MB / 0.5741 GB, free: 6.832 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006654/0.4375, allocations: 354 kB / 0.5744 GB, free: 6.449 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4375, allocations: 0 / 0.5744 GB, free: 6.449 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003755/0.4379, allocations: 270.1 kB / 0.5747 GB, free: 6.148 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003938/0.4383, allocations: 54.67 kB / 0.5748 GB, free: 6.098 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004049/0.4424, allocations: 2.87 MB / 0.5776 GB, free: 3.051 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004573/0.4428, allocations: 0.7595 MB / 0.5783 GB, free: 2.262 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.976e-05/0.4429, allocations: 21.95 kB / 0.5783 GB, free: 2.238 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.443, allocations: 67.41 kB / 0.5784 GB, free: 2.172 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.443, allocations: 0 / 0.5784 GB, free: 2.172 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03249/0.4755, allocations: 6.452 MB / 0.5847 GB, free: 11.74 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.314/8.79, allocations: 10.16 kB / 0.5847 GB, free: 11.73 MB / 430.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.986274867784232] 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.93146055424586 8.95691077 8.528787276 Calling exit ...