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.001419/0.001419, allocations: 105 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.00158/0.00158, allocations: 217 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.295/1.295, allocations: 230.2 MB / 256.1 MB, free: 8.754 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.2008/0.2008, allocations: 46.9 MB / 359.3 MB, free: 4.957 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.002092/0.002092, allocations: 79.86 kB / 0.494 GB, free: 9.102 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2606, allocations: 65.99 MB / 0.5584 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002753/0.2633, allocations: 1.687 MB / 0.5601 GB, free: 3.484 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.2644, allocations: 0.6829 MB / 0.5607 GB, free: 2.797 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.372e-05/0.2645, allocations: 3.938 kB / 0.5607 GB, free: 2.793 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.45e-05/0.2645, allocations: 11.81 kB / 0.5607 GB, free: 2.781 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.687e-05/0.2646, allocations: 19.8 kB / 0.5608 GB, free: 2.762 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003931/0.265, allocations: 147.2 kB / 0.5609 GB, free: 2.621 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002083/0.2652, allocations: 151.6 kB / 0.561 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.2653, allocations: 42.7 kB / 0.5611 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001646/0.2655, allocations: 67.77 kB / 0.5612 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.2656, allocations: 71.67 kB / 0.5612 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.92e-05/0.2656, allocations: 12 kB / 0.5612 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.462e-05/0.2657, allocations: 19.98 kB / 0.5612 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.581e-05/0.2657, allocations: 27.92 kB / 0.5613 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.928e-05/0.2658, allocations: 67.64 kB / 0.5613 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.266, allocations: 131.5 kB / 0.5615 GB, free: 2.043 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.266, allocations: 4 kB / 0.5615 GB, free: 2.039 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.266, allocations: 0 / 0.5615 GB, free: 2.039 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.9e-06/0.266, allocations: 4 kB / 0.5615 GB, free: 2.035 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.0006762/0.2667, allocations: 466.7 kB / 0.5619 GB, free: 1.531 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.2667, allocations: 12.03 kB / 0.5619 GB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.239e-05/0.2667, allocations: 34.75 kB / 0.562 GB, free: 1.477 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001508/0.2669, allocations: 32.77 kB / 0.562 GB, free: 1.445 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002827/0.2672, allocations: 228.1 kB / 0.5622 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.2672, allocations: 8.375 kB / 0.5622 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.2672, allocations: 8.375 kB / 0.5622 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003923/0.2676, allocations: 174.8 kB / 0.5624 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.2676, allocations: 0 / 0.5624 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.723e-05/0.2677, allocations: 8 kB / 0.5624 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.2677, allocations: 0 / 0.5624 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003805/0.268, allocations: 119.9 kB / 0.5625 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007973/0.2688, allocations: 456.3 kB / 0.563 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005754/0.2694, allocations: 190.4 kB / 0.5631 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002132/0.2696, allocations: 76.8 kB / 0.5632 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.2696, allocations: 4.141 kB / 0.5632 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.2697, allocations: 34.55 kB / 0.5632 GB, free: 44 kB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.2697, allocations: 4 kB / 0.5632 GB, free: 40 kB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.001425/0.2711, allocations: 0.5724 MB / 0.5638 GB, free: 15.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.026e-05/0.2712, allocations: 102.8 kB / 0.5639 GB, free: 15.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.2713, allocations: 159.4 kB / 0.5641 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.2713, allocations: 25.7 kB / 0.5641 GB, free: 15.08 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.442e-05/0.2714, allocations: 108.1 kB / 0.5642 GB, free: 14.97 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.568e-05/0.2714, allocations: 35.69 kB / 0.5642 GB, free: 14.94 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.233e-05/0.2715, allocations: 29.7 kB / 0.5642 GB, free: 14.9 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.2716, allocations: 326.8 kB / 0.5646 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002151/0.2719, allocations: 68.8 kB / 0.5646 GB, free: 14.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/0.2721, allocations: 90.52 kB / 0.5647 GB, free: 14.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004017/0.2725, allocations: 148.8 kB / 0.5649 GB, free: 14.26 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.2725, allocations: 0 / 0.5649 GB, free: 14.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004767/0.273, allocations: 189.5 kB / 0.565 GB, free: 14.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.273, allocations: 8 kB / 0.565 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.273, allocations: 80 / 0.565 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.273, allocations: 3.938 kB / 0.565 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001808/0.2732, allocations: 39.95 kB / 0.5651 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.2732, allocations: 7.984 kB / 0.5651 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.2733, allocations: 19.97 kB / 0.5651 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.2733, allocations: 8 kB / 0.5651 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001487/0.2735, allocations: 112.1 kB / 0.5652 GB, free: 13.87 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001178/0.2736, allocations: 70.47 kB / 0.5653 GB, free: 13.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001817/0.2738, allocations: 68.83 kB / 0.5654 GB, free: 13.72 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.12e-07/0.2738, allocations: 0 / 0.5654 GB, free: 13.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002435/0.274, allocations: 129.7 kB / 0.5655 GB, free: 13.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.211e-06/0.274, allocations: 4 kB / 0.5655 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-06/0.274, allocations: 4.031 kB / 0.5655 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-06/0.274, allocations: 8 kB / 0.5655 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.082e-05/0.2741, allocations: 19.98 kB / 0.5655 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.296e-06/0.2741, allocations: 3.938 kB / 0.5655 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.988e-05/0.2742, allocations: 11.98 kB / 0.5655 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.2742, allocations: 4 kB / 0.5655 GB, free: 13.53 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.0001115/0.2743, allocations: 184.2 kB / 0.5657 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.354e-05/0.2744, allocations: 15.91 kB / 0.5657 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.488e-05/0.2744, allocations: 25.39 kB / 0.5657 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.2744, allocations: 3.938 kB / 0.5658 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.2744, allocations: 0 / 0.5658 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.2744, allocations: 3.984 kB / 0.5658 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008802/0.2753, allocations: 0.5108 MB / 0.5663 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2753, allocations: 0 / 0.5663 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.2755, allocations: 31.97 kB / 0.5663 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.2755, allocations: 4 kB / 0.5663 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.2755, allocations: 0 / 0.5663 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.2755, allocations: 0 / 0.5663 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2755, allocations: 0 / 0.5663 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007534/0.2763, allocations: 376 kB / 0.5666 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.115e-05/0.2763, allocations: 85.09 kB / 0.5667 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.2763, allocations: 4 kB / 0.5667 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000254/0.2766, allocations: 35.95 kB / 0.5668 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.541e-05/0.2766, allocations: 15.98 kB / 0.5668 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.2766, allocations: 7.984 kB / 0.5668 GB, free: 12.13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.467e-05/0.2767, allocations: 121.6 kB / 0.5669 GB, free: 12.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2767, allocations: 0 / 0.5669 GB, free: 12.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002913/0.277, allocations: 32 kB / 0.5669 GB, free: 11.98 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.001027/0.278, allocations: 0.8929 MB / 0.5678 GB, free: 11.06 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005679/0.2786, allocations: 195.8 kB / 0.568 GB, free: 10.87 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2786, allocations: 0 / 0.568 GB, free: 10.87 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002258/0.2788, allocations: 75.88 kB / 0.5681 GB, free: 10.8 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.2792, allocations: 35.22 kB / 0.5681 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002646/0.2818, allocations: 1.931 MB / 0.57 GB, free: 8.75 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/0.2821, allocations: 0.7085 MB / 0.5707 GB, free: 8.012 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.037e-05/0.2822, allocations: 21.11 kB / 0.5707 GB, free: 7.988 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.067e-05/0.2823, allocations: 39.42 kB / 0.5707 GB, free: 7.949 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2823, allocations: 0 / 0.5707 GB, free: 7.949 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02434/0.3066, allocations: 3.892 MB / 0.5745 GB, free: 4.137 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.172/7.479, allocations: 7.984 kB / 0.5745 GB, free: 4.129 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Limiters_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 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: 9.962388285988709]