Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.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.001142/0.001142, allocations: 105.8 kB / 19.74 MB, free: 2.566 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.00123/0.00123, allocations: 221.2 kB / 22.92 MB, free: 5.539 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.302/1.302, allocations: 230.2 MB / 256.2 MB, free: 8.758 MB / 206.1 MB " [Timeout remaining time 179] 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.2077/0.2077, allocations: 46.88 MB / 359.3 MB, free: 4.996 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.Limiters,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Limiters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Limiters",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.002172/0.002172, allocations: 75.88 kB / 0.494 GB, free: 9.125 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2582, allocations: 65.98 MB / 0.5584 GB, free: 5.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002688/0.2609, allocations: 1.706 MB / 0.5601 GB, free: 3.516 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.2619, allocations: 0.6712 MB / 0.5607 GB, free: 2.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.313e-05/0.262, allocations: 4 kB / 0.5607 GB, free: 2.836 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.81e-05/0.262, allocations: 15.8 kB / 0.5607 GB, free: 2.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.457e-05/0.2621, allocations: 15.81 kB / 0.5608 GB, free: 2.805 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004041/0.2625, allocations: 155.2 kB / 0.5609 GB, free: 2.656 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002027/0.2627, allocations: 155.7 kB / 0.5611 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.2628, allocations: 30.7 kB / 0.5611 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001547/0.263, allocations: 75.77 kB / 0.5612 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.2631, allocations: 63.67 kB / 0.5612 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.887e-05/0.2631, allocations: 16 kB / 0.5612 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.484e-05/0.2632, allocations: 16 kB / 0.5612 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.281e-05/0.2632, allocations: 31.91 kB / 0.5613 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.858e-05/0.2633, allocations: 63.64 kB / 0.5613 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.2634, allocations: 139.4 kB / 0.5615 GB, free: 2.078 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.2635, allocations: 4 kB / 0.5615 GB, free: 2.074 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2635, allocations: 0 / 0.5615 GB, free: 2.074 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.2635, allocations: 0 / 0.5615 GB, free: 2.074 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006417/0.2641, allocations: 462.7 kB / 0.5619 GB, free: 1.574 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.2641, allocations: 8.031 kB / 0.5619 GB, free: 1.566 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.031e-05/0.2642, allocations: 42.69 kB / 0.562 GB, free: 1.516 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001486/0.2643, allocations: 28.83 kB / 0.562 GB, free: 1.488 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002831/0.2646, allocations: 225.4 kB / 0.5622 GB, free: 1.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.2646, allocations: 4.375 kB / 0.5622 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.2646, allocations: 8.375 kB / 0.5622 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003991/0.265, allocations: 184.2 kB / 0.5624 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.2651, allocations: 0 / 0.5624 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.2651, allocations: 7.938 kB / 0.5624 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.2651, allocations: 4 kB / 0.5624 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003767/0.2655, allocations: 119.9 kB / 0.5625 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007847/0.2662, allocations: 456.3 kB / 0.563 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005797/0.2668, allocations: 190.4 kB / 0.5631 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002079/0.267, allocations: 72.78 kB / 0.5632 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.2671, allocations: 8.125 kB / 0.5632 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.2671, allocations: 38.56 kB / 0.5632 GB, free: 76 kB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.2671, allocations: 0 / 0.5632 GB, free: 76 kB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.001423/0.2685, allocations: 0.5643 MB / 0.5638 GB, free: 15.45 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.866e-05/0.2686, allocations: 110.8 kB / 0.5639 GB, free: 15.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.2687, allocations: 159.3 kB / 0.5641 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.2688, allocations: 29.7 kB / 0.5641 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.109e-05/0.2688, allocations: 100.1 kB / 0.5642 GB, free: 15.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.254e-05/0.2688, allocations: 39.69 kB / 0.5642 GB, free: 14.97 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.057e-05/0.2689, allocations: 29.7 kB / 0.5642 GB, free: 14.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.269, allocations: 322.8 kB / 0.5646 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002177/0.2693, allocations: 72.8 kB / 0.5646 GB, free: 14.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002392/0.2695, allocations: 98.5 kB / 0.5647 GB, free: 14.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004038/0.2699, allocations: 141 kB / 0.5649 GB, free: 14.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.2699, allocations: 3.938 kB / 0.5649 GB, free: 14.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004811/0.2704, allocations: 181.5 kB / 0.565 GB, free: 14.1 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.2704, allocations: 4 kB / 0.565 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-06/0.2704, allocations: 4 kB / 0.565 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.2704, allocations: 3.938 kB / 0.565 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001808/0.2706, allocations: 43.89 kB / 0.5651 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.2706, allocations: 0 / 0.5651 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.2707, allocations: 23.97 kB / 0.5651 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.2707, allocations: 8 kB / 0.5651 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001518/0.2709, allocations: 120.1 kB / 0.5652 GB, free: 13.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001131/0.271, allocations: 59.09 kB / 0.5653 GB, free: 13.83 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001888/0.2712, allocations: 80.75 kB / 0.5654 GB, free: 13.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.91e-07/0.2712, allocations: 0 / 0.5654 GB, free: 13.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002443/0.2714, allocations: 121.5 kB / 0.5655 GB, free: 13.62 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.261e-06/0.2714, allocations: 8 kB / 0.5655 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-06/0.2714, allocations: 384 / 0.5655 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-06/0.2714, allocations: 0 / 0.5655 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.849e-05/0.2715, allocations: 19.98 kB / 0.5655 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.2715, allocations: 7.922 kB / 0.5655 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.853e-05/0.2716, allocations: 19.92 kB / 0.5655 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.2716, allocations: 4 kB / 0.5655 GB, free: 13.56 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001279/0.2718, allocations: 192.2 kB / 0.5657 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.304e-05/0.2718, allocations: 15.91 kB / 0.5657 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.991e-05/0.2718, allocations: 9.406 kB / 0.5657 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.2718, allocations: 7.938 kB / 0.5657 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.2718, allocations: 0 / 0.5657 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2718, allocations: 0 / 0.5657 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008599/0.2727, allocations: 0.5068 MB / 0.5662 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2727, allocations: 7.938 kB / 0.5663 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001614/0.2729, allocations: 31.97 kB / 0.5663 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.2729, allocations: 0 / 0.5663 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.2729, allocations: 7.984 kB / 0.5663 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2729, allocations: 8.031 kB / 0.5663 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2729, allocations: 0 / 0.5663 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007578/0.2736, allocations: 360 kB / 0.5666 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.189e-05/0.2737, allocations: 93.02 kB / 0.5667 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.464e-05/0.2737, allocations: 4 kB / 0.5667 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002576/0.274, allocations: 40.02 kB / 0.5668 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.114e-05/0.274, allocations: 4 kB / 0.5668 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.274, allocations: 11.98 kB / 0.5668 GB, free: 12.17 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.423e-05/0.2741, allocations: 117.6 kB / 0.5669 GB, free: 12.06 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2741, allocations: 0 / 0.5669 GB, free: 12.06 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002958/0.2744, allocations: 36 kB / 0.5669 GB, free: 12.02 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealDerivative.u) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.001028/0.2754, allocations: 0.8928 MB / 0.5678 GB, free: 11.1 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005847/0.276, allocations: 195.8 kB / 0.568 GB, free: 10.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.276, allocations: 0 / 0.568 GB, free: 10.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002217/0.2763, allocations: 75.88 kB / 0.5681 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/0.2766, allocations: 42.09 kB / 0.5681 GB, free: 10.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002673/0.2793, allocations: 1.928 MB / 0.57 GB, free: 8.785 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.2796, allocations: 0.7085 MB / 0.5707 GB, free: 8.047 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.269e-05/0.2797, allocations: 20.86 kB / 0.5707 GB, free: 8.023 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.882e-05/0.2797, allocations: 39.42 kB / 0.5707 GB, free: 7.984 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2797, allocations: 0 / 0.5707 GB, free: 7.984 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02693/0.3067, allocations: 3.882 MB / 0.5745 GB, free: 4.176 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.175/7.481, allocations: 14.77 kB / 0.5745 GB, free: 4.168 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219036 ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Limiters.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.006701278995024]