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.001417/0.001417, allocations: 109.2 kB / 19.8 MB, free: 2.516 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.001669/0.001669, allocations: 217.7 kB / 23 MB, free: 5.609 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.443/1.443, allocations: 230.2 MB / 256.2 MB, free: 8.738 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.2414/0.2414, allocations: 46.88 MB / 359.4 MB, free: 4.949 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.002296/0.002296, allocations: 83.88 kB / 0.4941 GB, free: 9.035 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3646/0.3669, allocations: 65.98 MB / 0.5586 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.003831/0.3707, allocations: 1.921 MB / 0.5604 GB, free: 3.242 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002459/0.3732, allocations: 1.212 MB / 0.5616 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001779/0.3733, allocations: 4 kB / 0.5616 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009953/0.3743, allocations: 190.9 kB / 0.5618 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006024/0.3749, allocations: 163.4 kB / 0.562 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006359/0.3756, allocations: 167.5 kB / 0.5621 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004516/0.376, allocations: 279.3 kB / 0.5624 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001594/0.3762, allocations: 19.5 kB / 0.5624 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002014/0.3764, allocations: 123.5 kB / 0.5625 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002098/0.3766, allocations: 123.6 kB / 0.5626 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.854e-05/0.3766, allocations: 16 kB / 0.5627 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001907/0.3768, allocations: 63.97 kB / 0.5627 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00013/0.3769, allocations: 63.75 kB / 0.5628 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001488/0.3771, allocations: 115.4 kB / 0.5629 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004504/0.3775, allocations: 286.9 kB / 0.5632 GB, free: 456 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.3776, allocations: 0 / 0.5632 GB, free: 456 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3776, allocations: 4 kB / 0.5632 GB, free: 452 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.3776, allocations: 0 / 0.5632 GB, free: 452 kB / 398.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.001179/0.3787, allocations: 0.6763 MB / 0.5638 GB, free: 15.69 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.3788, allocations: 8.031 kB / 0.5638 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.879e-05/0.3788, allocations: 50.73 kB / 0.5639 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.412e-05/0.3789, allocations: 28.8 kB / 0.5639 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004073/0.3793, allocations: 279.8 kB / 0.5642 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001424/0.3795, allocations: 109.5 kB / 0.5643 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.082e-05/0.3795, allocations: 12.38 kB / 0.5643 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003929/0.3799, allocations: 156.4 kB / 0.5644 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.3799, allocations: 0 / 0.5644 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/0.3799, allocations: 8 kB / 0.5645 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.3799, allocations: 4 kB / 0.5645 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002445/0.3802, allocations: 91.88 kB / 0.5645 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009929/0.3812, allocations: 0.6102 MB / 0.5651 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003837/0.3816, allocations: 159.9 kB / 0.5653 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001815/0.3817, allocations: 70.55 kB / 0.5654 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.483e-05/0.3818, allocations: 4 kB / 0.5654 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005391/0.3823, allocations: 437.1 kB / 0.5658 GB, free: 13.44 MB / 414.1 MB Notification: Performance of pre-optimization done (n=23): time 1.513e-06/0.3823, allocations: 0 / 0.5658 GB, free: 13.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=23): time 0.0009137/0.3832, allocations: 438.5 kB / 0.5662 GB, free: 12.99 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001779/0.3834, allocations: 221.5 kB / 0.5664 GB, free: 12.72 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003986/0.3838, allocations: 334.6 kB / 0.5667 GB, free: 12.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.349e-05/0.3838, allocations: 33.64 kB / 0.5668 GB, free: 12.35 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.384, allocations: 136.7 kB / 0.5669 GB, free: 12.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.051e-05/0.384, allocations: 55.58 kB / 0.5669 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.38e-05/0.3841, allocations: 45.7 kB / 0.567 GB, free: 12.11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.3843, allocations: 338.8 kB / 0.5673 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.3844, allocations: 59.95 kB / 0.5674 GB, free: 11.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002204/0.3847, allocations: 142.3 kB / 0.5675 GB, free: 11.53 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004449/0.3851, allocations: 359.3 kB / 0.5678 GB, free: 11.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.3851, allocations: 3.938 kB / 0.5679 GB, free: 11.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005652/0.3857, allocations: 358.3 kB / 0.5682 GB, free: 10.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.694e-05/0.3857, allocations: 93.03 kB / 0.5683 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.3858, allocations: 7.984 kB / 0.5683 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.3858, allocations: 4 kB / 0.5683 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.3859, allocations: 20 kB / 0.5683 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.099e-05/0.3859, allocations: 8.078 kB / 0.5683 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.386, allocations: 32.09 kB / 0.5683 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.159e-05/0.3861, allocations: 12 kB / 0.5684 GB, free: 10.54 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.0002788/0.3863, allocations: 261.5 kB / 0.5686 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.943e-05/0.3864, allocations: 35.8 kB / 0.5686 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003954/0.3868, allocations: 208.9 kB / 0.5688 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.3868, allocations: 0 / 0.5688 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.3868, allocations: 4 kB / 0.5688 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.3868, allocations: 7.984 kB / 0.5689 GB, free: 9.992 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003699/0.3872, allocations: 285.5 kB / 0.5691 GB, free: 9.664 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3872, allocations: 0 / 0.5691 GB, free: 9.664 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.808e-05/0.3872, allocations: 15.92 kB / 0.5691 GB, free: 9.648 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.3872, allocations: 7.875 kB / 0.5692 GB, free: 9.641 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.696e-05/0.3873, allocations: 12 kB / 0.5692 GB, free: 9.629 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.3873, allocations: 4 kB / 0.5692 GB, free: 9.625 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3873, allocations: 0 / 0.5692 GB, free: 9.625 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007042/0.388, allocations: 450.8 kB / 0.5696 GB, free: 9.145 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.334e-05/0.388, allocations: 101 kB / 0.5697 GB, free: 9.027 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.461e-05/0.3881, allocations: 11.94 kB / 0.5697 GB, free: 9.016 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.3882, allocations: 19.98 kB / 0.5697 GB, free: 8.996 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.3883, allocations: 27.89 kB / 0.5697 GB, free: 8.969 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.238e-05/0.3884, allocations: 12 kB / 0.5698 GB, free: 8.957 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002788/0.3886, allocations: 253.9 kB / 0.57 GB, free: 8.707 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3886, allocations: 0 / 0.57 GB, free: 8.707 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003413/0.389, allocations: 67.89 kB / 0.5701 GB, free: 8.641 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.002514/0.3915, allocations: 1.296 MB / 0.5713 GB, free: 7.445 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006429/0.3921, allocations: 357.9 kB / 0.5717 GB, free: 7.059 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3921, allocations: 0 / 0.5717 GB, free: 7.059 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003476/0.3925, allocations: 266.5 kB / 0.5719 GB, free: 6.762 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.3928, allocations: 62.81 kB / 0.572 GB, free: 6.703 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004184/0.397, allocations: 2.867 MB / 0.5748 GB, free: 3.664 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004203/0.3974, allocations: 0.7556 MB / 0.5755 GB, free: 2.879 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001056/0.3976, allocations: 25.84 kB / 0.5756 GB, free: 2.855 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/0.3977, allocations: 67.41 kB / 0.5756 GB, free: 2.789 MB / 414.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3977, allocations: 0 / 0.5756 GB, free: 2.789 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0285/0.4262, allocations: 6.318 MB / 0.5818 GB, free: 12.48 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.577/9.003, allocations: 14.22 kB / 0.5818 GB, free: 12.48 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.83108889000141] 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.131964801985305 9.155620199 8.773412976 Calling exit ...