Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.StrictLimiters.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.001174/0.001174, allocations: 106.5 kB / 19.74 MB, free: 2.453 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.001377/0.001377, allocations: 216.9 kB / 22.92 MB, free: 5.195 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.312/1.312, allocations: 230.2 MB / 256.2 MB, free: 8.648 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.203/0.203, allocations: 46.89 MB / 359.3 MB, free: 5.035 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.StrictLimiters,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_StrictLimiters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.StrictLimiters,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_StrictLimiters",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.002135/0.002135, allocations: 83.86 kB / 0.494 GB, free: 9.176 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2666, allocations: 65.99 MB / 0.5584 GB, free: 5.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.004442/0.271, allocations: 3.566 MB / 0.5619 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002302/0.2733, allocations: 1.496 MB / 0.5634 GB, free: 184 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002371/0.2736, allocations: 27.81 kB / 0.5634 GB, free: 156 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002512/0.2738, allocations: 110.7 kB / 0.5635 GB, free: 44 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004352/0.2742, allocations: 158.6 kB / 0.5636 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001093/0.2753, allocations: 0.6455 MB / 0.5643 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009169/0.2763, allocations: 0.9406 MB / 0.5652 GB, free: 14.3 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003543/0.2766, allocations: 224.3 kB / 0.5654 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000459/0.2771, allocations: 374.4 kB / 0.5658 GB, free: 13.7 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003584/0.2774, allocations: 358.1 kB / 0.5661 GB, free: 13.35 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.711e-05/0.2775, allocations: 72 kB / 0.5662 GB, free: 13.28 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.2776, allocations: 76 kB / 0.5662 GB, free: 13.21 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001404/0.2778, allocations: 179.2 kB / 0.5664 GB, free: 13.03 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002767/0.2781, allocations: 365.7 kB / 0.5668 GB, free: 12.67 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008116/0.2789, allocations: 0.8477 MB / 0.5676 GB, free: 11.82 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.2789, allocations: 4 kB / 0.5676 GB, free: 11.82 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2789, allocations: 0 / 0.5676 GB, free: 11.82 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.846e-06/0.2789, allocations: 0 / 0.5676 GB, free: 11.82 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002082/0.281, allocations: 1.233 MB / 0.5688 GB, free: 10.53 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.281, allocations: 8.031 kB / 0.5688 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.972e-05/0.2811, allocations: 90.7 kB / 0.5689 GB, free: 10.43 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004966/0.2816, allocations: 144.3 kB / 0.569 GB, free: 10.29 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008148/0.2824, allocations: 0.6059 MB / 0.5696 GB, free: 9.641 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.462e-05/0.2824, allocations: 41.38 kB / 0.5697 GB, free: 9.602 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.293e-05/0.2825, allocations: 60.27 kB / 0.5697 GB, free: 9.543 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001371/0.2839, allocations: 0.7271 MB / 0.5704 GB, free: 8.762 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.2839, allocations: 4 kB / 0.5704 GB, free: 8.758 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.355e-05/0.284, allocations: 23.98 kB / 0.5705 GB, free: 8.734 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.284, allocations: 15.94 kB / 0.5705 GB, free: 8.719 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001407/0.2854, allocations: 0.5581 MB / 0.571 GB, free: 8.16 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003013/0.2884, allocations: 2.275 MB / 0.5732 GB, free: 5.793 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001699/0.2901, allocations: 0.692 MB / 0.5739 GB, free: 5.066 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008039/0.2909, allocations: 314.2 kB / 0.5742 GB, free: 4.754 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.092e-05/0.2909, allocations: 12.38 kB / 0.5742 GB, free: 4.742 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.291, allocations: 38.94 kB / 0.5743 GB, free: 4.695 MB / 414.1 MB Notification: Performance of pre-optimization done (n=48): time 1.473e-06/0.291, allocations: 0 / 0.5743 GB, free: 4.695 MB / 414.1 MB Notification: Performance of matching and sorting (n=50): time 0.004518/0.2955, allocations: 1.951 MB / 0.5762 GB, free: 2.691 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001223/0.2956, allocations: 247.8 kB / 0.5764 GB, free: 2.395 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006088/0.2962, allocations: 0.5708 MB / 0.577 GB, free: 1.812 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.685e-05/0.2963, allocations: 37.7 kB / 0.577 GB, free: 1.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002647/0.2965, allocations: 365.2 kB / 0.5773 GB, free: 1.406 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001392/0.2967, allocations: 182.4 kB / 0.5775 GB, free: 1.227 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000168/0.2968, allocations: 106.2 kB / 0.5776 GB, free: 1.117 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.297, allocations: 322 kB / 0.5779 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008091/0.2978, allocations: 306.9 kB / 0.5782 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009076/0.2987, allocations: 435.6 kB / 0.5786 GB, free: 20 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001617/0.3003, allocations: 0.6474 MB / 0.5793 GB, free: 15.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.3003, allocations: 4 kB / 0.5793 GB, free: 15.33 MB / 430.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001926/0.3022, allocations: 0.7913 MB / 0.58 GB, free: 14.53 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.3022, allocations: 8 kB / 0.58 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.3023, allocations: 16.27 kB / 0.5801 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.3023, allocations: 11.92 kB / 0.5801 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008281/0.3031, allocations: 187.7 kB / 0.5803 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.3031, allocations: 7.938 kB / 0.5803 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004993/0.3036, allocations: 87.84 kB / 0.5803 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.778e-05/0.3037, allocations: 20 kB / 0.5804 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007077/0.3044, allocations: 365.1 kB / 0.5807 GB, free: 13.84 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006576/0.305, allocations: 365.4 kB / 0.5811 GB, free: 13.43 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00114/0.3062, allocations: 0.5476 MB / 0.5816 GB, free: 12.85 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.633e-06/0.3062, allocations: 0 / 0.5816 GB, free: 12.85 MB / 430.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001381/0.3076, allocations: 0.6633 MB / 0.5822 GB, free: 12.18 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.557e-06/0.3076, allocations: 6.344 kB / 0.5822 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.3076, allocations: 4 kB / 0.5823 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.21e-06/0.3076, allocations: 4 kB / 0.5823 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006493/0.3082, allocations: 171.9 kB / 0.5824 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.3082, allocations: 8 kB / 0.5824 GB, free: 11.99 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004376/0.3087, allocations: 67.94 kB / 0.5825 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.999e-05/0.3087, allocations: 19.94 kB / 0.5825 GB, free: 11.91 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: 4 (PID2.I.local_reset,PID1.I.local_reset,limIntegrator2.local_reset,limIntegrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * 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.0001683/0.3089, allocations: 212.1 kB / 0.5827 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.309, allocations: 79.48 kB / 0.5828 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001675/0.3092, allocations: 91.36 kB / 0.5829 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.3092, allocations: 4 kB / 0.5829 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3092, allocations: 0 / 0.5829 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.3092, allocations: 4 kB / 0.5829 GB, free: 11.51 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002654/0.3118, allocations: 1.453 MB / 0.5843 GB, free: 10 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.3118, allocations: 0 / 0.5843 GB, free: 10 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006805/0.3125, allocations: 143.8 kB / 0.5844 GB, free: 9.859 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.3125, allocations: 4 kB / 0.5844 GB, free: 9.855 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.942e-05/0.3126, allocations: 20.05 kB / 0.5845 GB, free: 9.836 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/0.3126, allocations: 4 kB / 0.5845 GB, free: 9.832 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.3126, allocations: 3.938 kB / 0.5845 GB, free: 9.828 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0027/0.3153, allocations: 1.253 MB / 0.5857 GB, free: 8.547 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002094/0.3155, allocations: 196.6 kB / 0.5859 GB, free: 8.336 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.175e-05/0.3155, allocations: 8 kB / 0.5859 GB, free: 8.328 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005404/0.3161, allocations: 75.91 kB / 0.586 GB, free: 8.254 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.3162, allocations: 51.88 kB / 0.586 GB, free: 8.203 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.38e-05/0.3162, allocations: 16 kB / 0.586 GB, free: 8.188 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004348/0.3167, allocations: 407 kB / 0.5864 GB, free: 7.793 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3167, allocations: 3.938 kB / 0.5864 GB, free: 7.789 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006003/0.3173, allocations: 176 kB / 0.5866 GB, free: 7.617 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (der1.u,der2.u,limIntegrator1.y,limIntegrator2.y,PID1.I.y,PID1.D.x,PID2.I.y,PID2.D.x) * 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 (50): * Single equations (assignments): 50 * 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.002962/0.3202, allocations: 1.805 MB / 0.5884 GB, free: 5.777 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002345/0.3226, allocations: 0.9423 MB / 0.5893 GB, free: 4.836 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3226, allocations: 0 / 0.5893 GB, free: 4.836 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008687/0.3234, allocations: 343.9 kB / 0.5896 GB, free: 4.5 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009601/0.3244, allocations: 206 kB / 0.5898 GB, free: 4.312 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00962/0.334, allocations: 6.153 MB / 0.5958 GB, free: 14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005108/0.3345, allocations: 0.9258 MB / 0.5967 GB, free: 13.05 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003626/0.3349, allocations: 92.78 kB / 0.5968 GB, free: 12.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004005/0.3353, allocations: 279.3 kB / 0.5971 GB, free: 12.68 MB / 446.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3353, allocations: 4 kB / 0.5971 GB, free: 12.68 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03967/0.375, allocations: 15.58 MB / 0.6123 GB, free: 13.21 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.183/8.558, allocations: 3.844 kB / 0.6123 GB, free: 13.21 MB / 462.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.StrictLimiters.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.StrictLimiters_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000215983 ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_StrictLimiters.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.066975850990275]