Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPID,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPID,fileNamePrefix="Buildings_8_Buildings_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.0014/0.0014, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001712/0.001713, allocations: 187.3 kB / 16.62 MB, free: 6.582 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.428/1.428, allocations: 205.1 MB / 222.5 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.625/1.625, allocations: 292.3 MB / 0.549 GB, free: 12.77 MB / 462.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: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 67.88 kB / 0.6718 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2093, allocations: 114.6 MB / 0.7836 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.004582/0.2139, allocations: 3.728 MB / 0.7873 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002467/0.2164, allocations: 1.376 MB / 0.7886 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004656/0.217, allocations: 27.88 kB / 0.7886 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003274/0.2173, allocations: 126.6 kB / 0.7888 GB, free: 8 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005051/0.2178, allocations: 178.5 kB / 0.7889 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001128/0.2189, allocations: 0.577 MB / 0.7895 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009392/0.2199, allocations: 0.9643 MB / 0.7904 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004983/0.2204, allocations: 353.8 kB / 0.7908 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004041/0.2208, allocations: 362.4 kB / 0.7911 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003389/0.2212, allocations: 354.1 kB / 0.7915 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001004/0.2213, allocations: 76 kB / 0.7915 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.031e-05/0.2214, allocations: 80 kB / 0.7916 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001508/0.2215, allocations: 191.2 kB / 0.7918 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002738/0.2218, allocations: 377.7 kB / 0.7921 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007734/0.2226, allocations: 0.8833 MB / 0.793 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.2226, allocations: 8 kB / 0.793 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2226, allocations: 0 / 0.793 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.2226, allocations: 0 / 0.793 GB, free: 3.617 MB / 0.6075 GB 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.001903/0.2245, allocations: 1.191 MB / 0.7942 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.2246, allocations: 8.031 kB / 0.7942 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.107e-05/0.2247, allocations: 94.7 kB / 0.7943 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001345/0.2248, allocations: 95.8 kB / 0.7944 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009566/0.2258, allocations: 0.6221 MB / 0.795 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.2259, allocations: 92.97 kB / 0.7951 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.212e-05/0.226, allocations: 56.38 kB / 0.7951 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.227, allocations: 0.6039 MB / 0.7957 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.227, allocations: 3.938 kB / 0.7957 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.73e-05/0.2271, allocations: 24 kB / 0.7957 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.2271, allocations: 12 kB / 0.7957 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009068/0.228, allocations: 431.6 kB / 0.7962 GB, free: 240 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002543/0.2306, allocations: 2.094 MB / 0.7982 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/0.2317, allocations: 0.4991 MB / 0.7987 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004377/0.2322, allocations: 224.7 kB / 0.7989 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.423e-05/0.2322, allocations: 7.984 kB / 0.7989 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006174/0.2328, allocations: 278 kB / 0.7992 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=45): time 2.785e-06/0.2329, allocations: 3.938 kB / 0.7992 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.001411/0.2343, allocations: 0.6112 MB / 0.7998 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.426e-05/0.2343, allocations: 84.86 kB / 0.7999 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006897/0.235, allocations: 0.6139 MB / 0.8005 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.121e-05/0.2351, allocations: 37.7 kB / 0.8005 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000236/0.2353, allocations: 364.8 kB / 0.8008 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.2355, allocations: 157.8 kB / 0.801 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/0.2356, allocations: 86.25 kB / 0.8011 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.937e-05/0.2357, allocations: 338 kB / 0.8014 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004134/0.2361, allocations: 175 kB / 0.8016 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004665/0.2366, allocations: 284.2 kB / 0.8018 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008446/0.2375, allocations: 479 kB / 0.8023 GB, free: 9.711 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.2375, allocations: 0 / 0.8023 GB, free: 9.711 MB / 0.6231 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001143/0.2386, allocations: 0.6021 MB / 0.8029 GB, free: 9.098 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.746e-05/0.2387, allocations: 37.7 kB / 0.8029 GB, free: 9.055 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.2387, allocations: 0 / 0.8029 GB, free: 9.055 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.2387, allocations: 11.94 kB / 0.8029 GB, free: 9.043 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000458/0.2392, allocations: 111.8 kB / 0.803 GB, free: 8.934 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.2392, allocations: 4 kB / 0.803 GB, free: 8.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000372/0.2396, allocations: 71.66 kB / 0.8031 GB, free: 8.859 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.808e-05/0.2396, allocations: 16 kB / 0.8031 GB, free: 8.844 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005123/0.2401, allocations: 313.8 kB / 0.8034 GB, free: 8.535 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004146/0.2406, allocations: 264.3 kB / 0.8037 GB, free: 8.242 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007537/0.2413, allocations: 457.9 kB / 0.8041 GB, free: 7.754 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.164e-06/0.2413, allocations: 0 / 0.8041 GB, free: 7.754 MB / 0.6231 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.0009894/0.2423, allocations: 0.5789 MB / 0.8047 GB, free: 7.16 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/0.2424, allocations: 37.7 kB / 0.8047 GB, free: 7.117 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.2424, allocations: 4 kB / 0.8047 GB, free: 7.113 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.69e-06/0.2424, allocations: 4 kB / 0.8047 GB, free: 7.109 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004298/0.2428, allocations: 103.9 kB / 0.8048 GB, free: 7.008 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.2428, allocations: 7.938 kB / 0.8048 GB, free: 7 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003509/0.2432, allocations: 47.58 kB / 0.8049 GB, free: 6.953 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.564e-05/0.2432, allocations: 23.98 kB / 0.8049 GB, free: 6.93 MB / 0.6231 GB 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.0001841/0.2434, allocations: 220.1 kB / 0.8051 GB, free: 6.707 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.654e-05/0.2435, allocations: 75.09 kB / 0.8052 GB, free: 6.633 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001536/0.2437, allocations: 79.34 kB / 0.8052 GB, free: 6.551 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.2437, allocations: 4 kB / 0.8053 GB, free: 6.547 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.2437, allocations: 0 / 0.8053 GB, free: 6.547 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.2437, allocations: 3.984 kB / 0.8053 GB, free: 6.543 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006048/0.2443, allocations: 0.6218 MB / 0.8059 GB, free: 5.871 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2443, allocations: 0 / 0.8059 GB, free: 5.871 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004403/0.2448, allocations: 87.89 kB / 0.8059 GB, free: 5.785 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.2448, allocations: 0 / 0.8059 GB, free: 5.785 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.386e-05/0.2448, allocations: 12 kB / 0.806 GB, free: 5.773 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.2448, allocations: 0 / 0.806 GB, free: 5.773 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.2448, allocations: 3.984 kB / 0.806 GB, free: 5.77 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00141/0.2463, allocations: 0.7275 MB / 0.8067 GB, free: 5.023 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002064/0.2465, allocations: 188 kB / 0.8069 GB, free: 4.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.263e-05/0.2466, allocations: 15.98 kB / 0.8069 GB, free: 4.805 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003895/0.247, allocations: 31.97 kB / 0.8069 GB, free: 4.773 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.562e-05/0.2471, allocations: 39.89 kB / 0.8069 GB, free: 4.734 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.549e-05/0.2471, allocations: 19.98 kB / 0.807 GB, free: 4.715 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004473/0.2476, allocations: 431 kB / 0.8074 GB, free: 4.301 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.192e-06/0.2476, allocations: 0 / 0.8074 GB, free: 4.301 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005659/0.2481, allocations: 223.2 kB / 0.8076 GB, free: 4.082 MB / 0.6231 GB 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.001644/0.2498, allocations: 1.287 MB / 0.8088 GB, free: 2.77 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0015/0.2513, allocations: 0.7855 MB / 0.8096 GB, free: 1.957 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/0.2513, allocations: 4 kB / 0.8096 GB, free: 1.953 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004383/0.2518, allocations: 215.5 kB / 0.8098 GB, free: 1.742 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008686/0.2526, allocations: 204.3 kB / 0.81 GB, free: 1.547 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007257/0.2599, allocations: 5.368 MB / 0.8152 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003931/0.2603, allocations: 0.918 MB / 0.8161 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004182/0.2608, allocations: 97.19 kB / 0.8162 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003089/0.2611, allocations: 255.4 kB / 0.8165 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of SimCode: time 1.283e-06/0.2611, allocations: 0 / 0.8165 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03853/0.2996, allocations: 13.92 MB / 0.8301 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.339/8.639, allocations: 15.61 kB / 0.8301 GB, free: 12.96 MB / 0.6544 GB (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.Continuous.Examples.LimPID_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_Continuous_Examples_LimPID.fmu > Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1)