Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.Limiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Limiters") translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Limiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007994/0.007994, allocations: 103.2 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001426/0.001427, allocations: 194.1 kB / 16.68 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.612/1.612, allocations: 205.1 MB / 222.5 MB, free: 4.387 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4101/0.4101, allocations: 39.94 MB / 309.8 MB, free: 9.656 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 76.34 kB / 435.8 MB, free: 2.453 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3315, allocations: 56.87 MB / 492.6 MB, free: 19.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002818/0.3344, allocations: 1.675 MB / 494.3 MB, free: 18.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.3355, allocations: 0.6521 MB / 495 MB, free: 17.72 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.299e-05/0.3356, allocations: 8.062 kB / 495 MB, free: 17.72 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.089e-05/0.3357, allocations: 10.22 kB / 495 MB, free: 17.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.933e-05/0.3358, allocations: 18.8 kB / 495 MB, free: 17.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004052/0.3362, allocations: 143.8 kB / 495.1 MB, free: 17.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002134/0.3364, allocations: 150.7 kB / 495.3 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.3366, allocations: 45.94 kB / 495.3 MB, free: 17.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.3367, allocations: 64.47 kB / 495.4 MB, free: 17.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.3368, allocations: 70.98 kB / 495.5 MB, free: 17.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.443e-05/0.3368, allocations: 12.62 kB / 495.5 MB, free: 17.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.707e-05/0.3369, allocations: 17 kB / 495.5 MB, free: 17.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.821e-05/0.3369, allocations: 32.56 kB / 495.5 MB, free: 17.44 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.131e-05/0.337, allocations: 72.19 kB / 495.6 MB, free: 17.39 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001828/0.3372, allocations: 132.6 kB / 495.7 MB, free: 17.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3372, allocations: 0 / 495.7 MB, free: 17.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3372, allocations: 0 / 495.7 MB, free: 17.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.3372, allocations: 1.562 kB / 495.7 MB, free: 17.33 MB / 382.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.000628/0.3378, allocations: 462 kB / 496.2 MB, free: 16.92 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.3379, allocations: 13.52 kB / 496.2 MB, free: 16.92 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.42e-05/0.3379, allocations: 16.16 kB / 496.2 MB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002766/0.3382, allocations: 233.6 kB / 496.4 MB, free: 16.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.3383, allocations: 3.375 kB / 496.4 MB, free: 16.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.936e-05/0.3383, allocations: 13.41 kB / 496.5 MB, free: 16.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004249/0.3387, allocations: 179.5 kB / 496.6 MB, free: 16.58 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.3387, allocations: 0 / 496.6 MB, free: 16.58 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.3388, allocations: 9.406 kB / 496.6 MB, free: 16.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.3388, allocations: 2.281 kB / 496.6 MB, free: 16.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004106/0.3392, allocations: 125.2 kB / 496.8 MB, free: 16.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008206/0.34, allocations: 450.4 kB / 497.2 MB, free: 16.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005919/0.3406, allocations: 198.9 kB / 497.4 MB, free: 16.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002216/0.3409, allocations: 70.45 kB / 497.5 MB, free: 16.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.874e-05/0.3409, allocations: 6.422 kB / 497.5 MB, free: 16.13 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.3409, allocations: 32.45 kB / 497.5 MB, free: 16.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.3409, allocations: 0 / 497.5 MB, free: 16.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.001502/0.3424, allocations: 0.5681 MB / 498.1 MB, free: 15.76 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.3425, allocations: 104.8 kB / 498.2 MB, free: 15.63 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.3426, allocations: 167.7 kB / 498.3 MB, free: 15.51 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.3426, allocations: 31.3 kB / 498.4 MB, free: 15.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.068e-05/0.3427, allocations: 117.9 kB / 498.5 MB, free: 15.37 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.894e-05/0.3427, allocations: 29.39 kB / 498.5 MB, free: 15.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.168e-05/0.3428, allocations: 29.34 kB / 498.5 MB, free: 15.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.029e-05/0.3429, allocations: 322.7 kB / 498.9 MB, free: 15 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002273/0.3431, allocations: 76.23 kB / 498.9 MB, free: 14.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002324/0.3433, allocations: 95.62 kB / 499 MB, free: 14.94 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004208/0.3438, allocations: 141.8 kB / 499.2 MB, free: 14.9 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3438, allocations: 1.031 kB / 499.2 MB, free: 14.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004885/0.3443, allocations: 182.3 kB / 499.3 MB, free: 14.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.3443, allocations: 10.95 kB / 499.4 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3443, allocations: 0 / 499.4 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.3443, allocations: 0 / 499.4 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/0.3445, allocations: 44.89 kB / 499.4 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.3445, allocations: 0 / 499.4 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.3447, allocations: 21.72 kB / 499.4 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.3447, allocations: 3.578 kB / 499.4 MB, free: 14.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001298/0.3448, allocations: 132.5 kB / 499.6 MB, free: 14.72 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001038/0.3449, allocations: 54.39 kB / 499.6 MB, free: 14.69 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001793/0.3451, allocations: 79.08 kB / 499.7 MB, free: 14.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.163e-06/0.3451, allocations: 0.5469 kB / 499.7 MB, free: 14.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002344/0.3454, allocations: 120.5 kB / 499.8 MB, free: 14.6 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.837e-06/0.3454, allocations: 11.84 kB / 499.8 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-06/0.3454, allocations: 2.094 kB / 499.8 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-06/0.3454, allocations: 3.938 kB / 499.8 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.101e-05/0.3455, allocations: 21.69 kB / 499.8 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.354e-06/0.3455, allocations: 1.375 kB / 499.8 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.601e-05/0.3456, allocations: 15.66 kB / 499.9 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.3456, allocations: 9.422 kB / 499.9 MB, free: 14.58 MB / 382.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 7.316e-05/0.3457, allocations: 185.1 kB / 0.4883 GB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.202e-05/0.3457, allocations: 15.33 kB / 0.4883 GB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.949e-05/0.3458, allocations: 14.27 kB / 0.4884 GB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.3458, allocations: 5.422 kB / 0.4884 GB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.3458, allocations: 0 / 0.4884 GB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.3458, allocations: 2.234 kB / 0.4884 GB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009039/0.3467, allocations: 0.5173 MB / 0.4889 GB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3467, allocations: 0 / 0.4889 GB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001859/0.3469, allocations: 42.23 kB / 0.4889 GB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.347, allocations: 1.547 kB / 0.4889 GB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.347, allocations: 1.922 kB / 0.4889 GB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.347, allocations: 5 kB / 0.4889 GB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.347, allocations: 1.406 kB / 0.4889 GB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007656/0.3478, allocations: 357.3 kB / 0.4893 GB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.499e-05/0.3478, allocations: 94.12 kB / 0.4893 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.3478, allocations: 2.594 kB / 0.4893 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002666/0.3481, allocations: 42.39 kB / 0.4894 GB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.3482, allocations: 10.56 kB / 0.4894 GB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.3482, allocations: 5.281 kB / 0.4894 GB, free: 13.67 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.15e-05/0.3483, allocations: 124.6 kB / 0.4895 GB, free: 13.58 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3483, allocations: 0 / 0.4895 GB, free: 13.58 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002995/0.3486, allocations: 33.53 kB / 0.4896 GB, free: 13.57 MB / 382.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 9.724e-05/0.3487, allocations: 117.5 kB / 0.4897 GB, free: 13.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000591/0.3493, allocations: 194.3 kB / 0.4899 GB, free: 13.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3493, allocations: 8 kB / 0.4899 GB, free: 13.42 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002195/0.3495, allocations: 72.81 kB / 0.4899 GB, free: 13.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003704/0.3499, allocations: 38.88 kB / 0.49 GB, free: 13.4 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006277/0.3505, allocations: 293.3 kB / 0.4902 GB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001404/0.3507, allocations: 0.7066 MB / 0.4909 GB, free: 12.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.673e-05/0.3508, allocations: 21.84 kB / 0.491 GB, free: 12.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.156e-05/0.3508, allocations: 16.03 kB / 0.491 GB, free: 12.49 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3509, allocations: 0 / 0.491 GB, free: 12.49 MB / 382.1 MB Notification: Performance of Templates: time 0.005131/0.356, allocations: 2.34 MB / 0.4933 GB, free: 11.93 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Limiters.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.Limiters.pipe 2>&1)