Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID") translateModel(IBPSA.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 187.6 kB / 16.08 MB, free: 5.48 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4421/0.4421, allocations: 89.06 MB / 105.9 MB, free: 12.46 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.219/1.219, allocations: 225.7 MB / 353.2 MB, free: 1.098 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007881/0.0007882, allocations: 94.38 kB / 425.4 MB, free: 6.684 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002792/0.0002792, allocations: 8 kB / 0.4955 GB, free: 4.574 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2659, allocations: 71.34 MB / 0.5652 GB, free: 42.39 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPID): time 0.002664/0.2686, allocations: 3.125 MB / 0.5682 GB, free: 39.24 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001618/0.2702, allocations: 1.337 MB / 0.5695 GB, free: 37.88 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002589/0.2705, allocations: 23.88 kB / 0.5696 GB, free: 37.86 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001988/0.2707, allocations: 95.09 kB / 0.5697 GB, free: 37.76 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003724/0.2711, allocations: 139.1 kB / 0.5698 GB, free: 37.63 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008352/0.2719, allocations: 0.5345 MB / 0.5703 GB, free: 37.1 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005466/0.2725, allocations: 0.8939 MB / 0.5712 GB, free: 36.2 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003597/0.2728, allocations: 334.7 kB / 0.5715 GB, free: 35.86 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002218/0.2731, allocations: 278.3 kB / 0.5718 GB, free: 35.59 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001994/0.2733, allocations: 270.1 kB / 0.572 GB, free: 35.32 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.016e-05/0.2733, allocations: 24 kB / 0.5721 GB, free: 35.3 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.283e-05/0.2734, allocations: 20 kB / 0.5721 GB, free: 35.28 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.823e-05/0.2735, allocations: 119.2 kB / 0.5722 GB, free: 35.16 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001632/0.2737, allocations: 327.5 kB / 0.5725 GB, free: 34.83 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004116/0.2741, allocations: 0.7879 MB / 0.5733 GB, free: 34.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2741, allocations: 0 / 0.5733 GB, free: 34.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2741, allocations: 0 / 0.5733 GB, free: 34.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.2741, allocations: 0 / 0.5733 GB, free: 34.04 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001362/0.2755, allocations: 1.053 MB / 0.5743 GB, free: 32.94 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.2755, allocations: 19.97 kB / 0.5743 GB, free: 32.92 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.2756, allocations: 91.81 kB / 0.5744 GB, free: 32.83 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006843/0.2763, allocations: 0.5948 MB / 0.575 GB, free: 32.19 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.997e-05/0.2764, allocations: 101 kB / 0.5751 GB, free: 32.08 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.167e-05/0.2765, allocations: 56.28 kB / 0.5751 GB, free: 32.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008407/0.2773, allocations: 0.612 MB / 0.5757 GB, free: 31.37 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.2773, allocations: 0 / 0.5757 GB, free: 31.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.351e-05/0.2774, allocations: 27.98 kB / 0.5758 GB, free: 31.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.2774, allocations: 12 kB / 0.5758 GB, free: 31.33 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007891/0.2782, allocations: 435.7 kB / 0.5762 GB, free: 30.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001955/0.2802, allocations: 2.141 MB / 0.5783 GB, free: 28.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009711/0.2812, allocations: 0.5186 MB / 0.5788 GB, free: 28.15 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003733/0.2815, allocations: 228.7 kB / 0.579 GB, free: 27.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.2816, allocations: 4 kB / 0.579 GB, free: 27.92 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005445/0.2821, allocations: 298 kB / 0.5793 GB, free: 27.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=45): time 2.685e-06/0.2821, allocations: 0 / 0.5793 GB, free: 27.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.001154/0.2833, allocations: 0.6347 MB / 0.5799 GB, free: 26.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.2833, allocations: 92.84 kB / 0.58 GB, free: 26.87 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004962/0.2838, allocations: 0.606 MB / 0.5806 GB, free: 26.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.058e-05/0.2839, allocations: 33.7 kB / 0.5806 GB, free: 26.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.284, allocations: 356.9 kB / 0.581 GB, free: 25.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.969e-05/0.2841, allocations: 153.7 kB / 0.5811 GB, free: 25.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.114e-05/0.2841, allocations: 12 kB / 0.5811 GB, free: 25.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.991e-05/0.2842, allocations: 330 kB / 0.5814 GB, free: 25.37 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000367/0.2846, allocations: 181 kB / 0.5816 GB, free: 25.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003864/0.285, allocations: 288.2 kB / 0.5819 GB, free: 24.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007189/0.2857, allocations: 497.9 kB / 0.5824 GB, free: 24.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2857, allocations: 3.938 kB / 0.5824 GB, free: 24.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0009094/0.2866, allocations: 0.6102 MB / 0.583 GB, free: 23.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.778e-05/0.2867, allocations: 197 kB / 0.5831 GB, free: 23.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.2867, allocations: 0 / 0.5831 GB, free: 23.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.2867, allocations: 5.094 kB / 0.5831 GB, free: 23.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000418/0.2871, allocations: 115.8 kB / 0.5833 GB, free: 23.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.2872, allocations: 8 kB / 0.5833 GB, free: 23.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000323/0.2875, allocations: 67.5 kB / 0.5833 GB, free: 23.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.913e-05/0.2875, allocations: 16 kB / 0.5833 GB, free: 23.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.691e-06/0.2875, allocations: 7.938 kB / 0.5834 GB, free: 23.28 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007981/0.2883, allocations: 0.4998 MB / 0.5838 GB, free: 22.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.2884, allocations: 4 kB / 0.5838 GB, free: 22.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.499e-06/0.2884, allocations: 8.25 kB / 0.5839 GB, free: 22.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003798/0.2888, allocations: 111.8 kB / 0.584 GB, free: 22.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.2888, allocations: 11.94 kB / 0.584 GB, free: 22.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000288/0.2891, allocations: 59.52 kB / 0.584 GB, free: 22.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.684e-05/0.2891, allocations: 20 kB / 0.584 GB, free: 22.56 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * 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.0001819/0.2893, allocations: 274.2 kB / 0.5843 GB, free: 22.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.122e-05/0.2893, allocations: 83 kB / 0.5844 GB, free: 22.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/0.2895, allocations: 75.22 kB / 0.5845 GB, free: 22.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.2895, allocations: 8 kB / 0.5845 GB, free: 22.11 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2895, allocations: 0 / 0.5845 GB, free: 22.11 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.2895, allocations: 3.984 kB / 0.5845 GB, free: 22.11 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004377/0.2899, allocations: 0.618 MB / 0.5851 GB, free: 21.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.2899, allocations: 3.938 kB / 0.5851 GB, free: 21.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004158/0.2904, allocations: 95.86 kB / 0.5852 GB, free: 21.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.2904, allocations: 4 kB / 0.5852 GB, free: 21.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.705e-05/0.2904, allocations: 8 kB / 0.5852 GB, free: 21.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.2904, allocations: 0 / 0.5852 GB, free: 21.33 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.2904, allocations: 3.938 kB / 0.5852 GB, free: 21.33 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001194/0.2916, allocations: 0.7435 MB / 0.5859 GB, free: 20.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001511/0.2918, allocations: 204 kB / 0.5861 GB, free: 20.35 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.716e-05/0.2919, allocations: 8 kB / 0.5861 GB, free: 20.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003604/0.2922, allocations: 47.95 kB / 0.5862 GB, free: 20.29 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.701e-05/0.2923, allocations: 31.95 kB / 0.5862 GB, free: 20.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.145e-05/0.2924, allocations: 15.98 kB / 0.5862 GB, free: 20.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003417/0.2927, allocations: 427 kB / 0.5866 GB, free: 19.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2927, allocations: 0 / 0.5866 GB, free: 19.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000466/0.2932, allocations: 211.4 kB / 0.5868 GB, free: 19.63 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * 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 9.038e-05/0.2933, allocations: 115.2 kB / 0.5869 GB, free: 19.51 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0012/0.2945, allocations: 0.8119 MB / 0.5877 GB, free: 18.67 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2945, allocations: 0.75 kB / 0.5877 GB, free: 18.67 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003778/0.2949, allocations: 227.9 kB / 0.5879 GB, free: 18.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007216/0.2956, allocations: 190.2 kB / 0.5881 GB, free: 18.26 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.2971, allocations: 1.47 MB / 0.5896 GB, free: 16.76 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000215/0.2974, allocations: 0.9144 MB / 0.5904 GB, free: 15.81 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003293/0.2977, allocations: 89.11 kB / 0.5905 GB, free: 15.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/0.2978, allocations: 43.44 kB / 0.5906 GB, free: 15.68 MB / 410.7 MB Notification: Performance of SimCode: time 3.3e-07/0.2978, allocations: 4 kB / 0.5906 GB, free: 15.68 MB / 410.7 MB Notification: Performance of Templates: time 0.009843/0.3077, allocations: 7.135 MB / 0.5975 GB, free: 8.594 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.makefile (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe 2>&1)