Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.LimPID,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.LimPID,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 101.2 kB / 16.27 MB, free: 5.969 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.001267/0.001267, allocations: 192 kB / 17.2 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.24/1.24, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.712/0.712, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 67.89 kB / 0.4912 GB, free: 7.371 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2842, allocations: 77.91 MB / 0.5673 GB, free: 32.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPID): time 0.004011/0.2883, allocations: 3.702 MB / 0.5709 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001897/0.2902, allocations: 1.326 MB / 0.5722 GB, free: 29.01 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002834/0.2905, allocations: 25.38 kB / 0.5722 GB, free: 29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002692/0.2908, allocations: 127.6 kB / 0.5723 GB, free: 28.91 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004102/0.2912, allocations: 167.9 kB / 0.5725 GB, free: 28.79 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009474/0.2921, allocations: 0.5761 MB / 0.573 GB, free: 28.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007721/0.2929, allocations: 0.9606 MB / 0.574 GB, free: 28 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000442/0.2934, allocations: 351.1 kB / 0.5743 GB, free: 27.82 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000299/0.2937, allocations: 361.9 kB / 0.5747 GB, free: 27.63 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002968/0.294, allocations: 355.3 kB / 0.575 GB, free: 27.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001149/0.2941, allocations: 77.69 kB / 0.5751 GB, free: 27.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.2942, allocations: 79.78 kB / 0.5752 GB, free: 27.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.2943, allocations: 178.1 kB / 0.5753 GB, free: 27.3 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002418/0.2946, allocations: 379.8 kB / 0.5757 GB, free: 27.03 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006919/0.2953, allocations: 0.8628 MB / 0.5765 GB, free: 26.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2953, allocations: 2.844 kB / 0.5765 GB, free: 26.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2953, allocations: 0 / 0.5765 GB, free: 26.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.385e-05/0.2953, allocations: 0 / 0.5765 GB, free: 26.62 MB / 446.1 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.001725/0.297, allocations: 1.181 MB / 0.5777 GB, free: 25.81 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.2971, allocations: 12.88 kB / 0.5777 GB, free: 25.81 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.519e-05/0.2972, allocations: 91.02 kB / 0.5778 GB, free: 25.74 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.2973, allocations: 94.38 kB / 0.5779 GB, free: 25.7 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007738/0.2981, allocations: 0.5976 MB / 0.5785 GB, free: 25.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.892e-05/0.2982, allocations: 95.61 kB / 0.5785 GB, free: 25.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.143e-05/0.2983, allocations: 52.97 kB / 0.5786 GB, free: 25.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009317/0.2992, allocations: 0.6037 MB / 0.5792 GB, free: 24.86 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.2992, allocations: 3.656 kB / 0.5792 GB, free: 24.86 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.723e-05/0.2993, allocations: 21.19 kB / 0.5792 GB, free: 24.85 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.2993, allocations: 12.16 kB / 0.5792 GB, free: 24.85 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008737/0.3002, allocations: 424.3 kB / 0.5796 GB, free: 24.71 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002195/0.3024, allocations: 2.119 MB / 0.5817 GB, free: 23.17 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.3035, allocations: 0.5004 MB / 0.5822 GB, free: 22.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000409/0.3039, allocations: 220 kB / 0.5824 GB, free: 22.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.484e-05/0.3039, allocations: 5.219 kB / 0.5824 GB, free: 22.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005583/0.3045, allocations: 287 kB / 0.5827 GB, free: 22.62 MB / 446.1 MB Notification: Performance of pre-optimization done (n=45): time 1.934e-06/0.3045, allocations: 1.531 kB / 0.5827 GB, free: 22.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.001291/0.3058, allocations: 0.6076 MB / 0.5833 GB, free: 22.32 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/0.3059, allocations: 86.39 kB / 0.5834 GB, free: 22.22 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005361/0.3064, allocations: 0.6162 MB / 0.584 GB, free: 21.86 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.509e-05/0.3064, allocations: 38.95 kB / 0.584 GB, free: 21.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/0.3066, allocations: 348.8 kB / 0.5843 GB, free: 21.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.897e-05/0.3067, allocations: 155.4 kB / 0.5845 GB, free: 21.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.3068, allocations: 96.44 kB / 0.5846 GB, free: 21.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.188e-05/0.3069, allocations: 326.4 kB / 0.5849 GB, free: 21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004018/0.3073, allocations: 188.4 kB / 0.5851 GB, free: 20.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004216/0.3077, allocations: 276.2 kB / 0.5853 GB, free: 20.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007915/0.3085, allocations: 484 kB / 0.5858 GB, free: 20.39 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.3085, allocations: 2.625 kB / 0.5858 GB, free: 20.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001031/0.3096, allocations: 0.6004 MB / 0.5864 GB, free: 20.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.3096, allocations: 38.62 kB / 0.5864 GB, free: 20.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.3096, allocations: 4.469 kB / 0.5864 GB, free: 20.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.3096, allocations: 4.594 kB / 0.5864 GB, free: 20.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004412/0.3101, allocations: 112 kB / 0.5865 GB, free: 20.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.3101, allocations: 9.406 kB / 0.5865 GB, free: 20 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000352/0.3104, allocations: 64.09 kB / 0.5866 GB, free: 19.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-05/0.3105, allocations: 18.16 kB / 0.5866 GB, free: 19.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004773/0.311, allocations: 313.2 kB / 0.5869 GB, free: 19.76 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003781/0.3114, allocations: 272.2 kB / 0.5872 GB, free: 19.55 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007053/0.3121, allocations: 454.5 kB / 0.5876 GB, free: 19.26 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.094e-06/0.3121, allocations: 1.375 kB / 0.5876 GB, free: 19.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.0009365/0.313, allocations: 0.5788 MB / 0.5882 GB, free: 18.94 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.3131, allocations: 32.48 kB / 0.5882 GB, free: 18.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.3131, allocations: 3.406 kB / 0.5882 GB, free: 18.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.839e-06/0.3131, allocations: 3.969 kB / 0.5882 GB, free: 18.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004079/0.3135, allocations: 106.5 kB / 0.5883 GB, free: 18.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.3135, allocations: 8.906 kB / 0.5883 GB, free: 18.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003315/0.3138, allocations: 49.67 kB / 0.5884 GB, free: 18.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.077e-05/0.3139, allocations: 25.55 kB / 0.5884 GB, free: 18.83 MB / 446.1 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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.000102/0.314, allocations: 211.1 kB / 0.5886 GB, free: 18.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.093e-05/0.3141, allocations: 73.72 kB / 0.5887 GB, free: 18.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001201/0.3142, allocations: 77.56 kB / 0.5887 GB, free: 18.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.3142, allocations: 5.031 kB / 0.5887 GB, free: 18.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.3142, allocations: 4 kB / 0.5887 GB, free: 18.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.3142, allocations: 5.297 kB / 0.5887 GB, free: 18.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004867/0.3147, allocations: 0.621 MB / 0.5894 GB, free: 18.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3147, allocations: 1.062 kB / 0.5894 GB, free: 18.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004331/0.3152, allocations: 85.72 kB / 0.5894 GB, free: 17.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.3152, allocations: 1.531 kB / 0.5894 GB, free: 17.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.806e-05/0.3152, allocations: 6.781 kB / 0.5894 GB, free: 17.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.3152, allocations: 2.469 kB / 0.5894 GB, free: 17.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3152, allocations: 4 kB / 0.5894 GB, free: 17.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/0.3165, allocations: 0.7369 MB / 0.5902 GB, free: 17.56 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001597/0.3167, allocations: 189.1 kB / 0.5903 GB, free: 17.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.421e-05/0.3168, allocations: 11.78 kB / 0.5904 GB, free: 17.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003917/0.3172, allocations: 32.55 kB / 0.5904 GB, free: 17.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.89e-05/0.3173, allocations: 31.17 kB / 0.5904 GB, free: 17.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.257e-05/0.3173, allocations: 18.61 kB / 0.5904 GB, free: 17.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003886/0.3177, allocations: 428.9 kB / 0.5908 GB, free: 17.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3177, allocations: 0 / 0.5908 GB, free: 17.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00054/0.3183, allocations: 222.4 kB / 0.5911 GB, free: 17.03 MB / 446.1 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 0.001467/0.3197, allocations: 1.282 MB / 0.5923 GB, free: 16.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001439/0.3212, allocations: 0.805 MB / 0.5931 GB, free: 15.64 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3212, allocations: 1.188 kB / 0.5931 GB, free: 15.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004026/0.3216, allocations: 231.5 kB / 0.5933 GB, free: 15.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007751/0.3224, allocations: 200.4 kB / 0.5935 GB, free: 15.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005809/0.3282, allocations: 5.618 MB / 0.599 GB, free: 9.555 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/0.3285, allocations: 0.9141 MB / 0.5999 GB, free: 8.613 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003456/0.3288, allocations: 89.12 kB / 0.6 GB, free: 8.527 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002577/0.3291, allocations: 263.3 kB / 0.6002 GB, free: 8.27 MB / 446.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3291, allocations: 0 / 0.6002 GB, free: 8.27 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03029/0.3594, allocations: 13.84 MB / 0.6137 GB, free: 10.61 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.085/7.444, allocations: 7.922 kB / 0.6138 GB, free: 10.6 MB / 462.1 MB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPID.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe 2>&1)