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.000941/0.000941, allocations: 100.6 kB / 15.05 MB, free: 1.105 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.001014/0.001014, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.541/1.541, allocations: 205.4 MB / 222.1 MB, free: 5.672 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.735/1.735, allocations: 292.6 MB / 0.5497 GB, free: 14.61 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.000545/0.000545, allocations: 11.34 kB / 0.6737 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.238, allocations: 116.3 MB / 0.7872 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.00342/0.2415, allocations: 3.154 MB / 0.7903 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002233/0.2438, allocations: 1.248 MB / 0.7915 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003138/0.2441, allocations: 23.88 kB / 0.7915 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.608e-05/0.2442, allocations: 51.38 kB / 0.7916 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005272/0.2447, allocations: 191.2 kB / 0.7918 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009735/0.2457, allocations: 459.9 kB / 0.7922 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000767/0.2465, allocations: 0.61 MB / 0.7928 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003756/0.2469, allocations: 259.1 kB / 0.793 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003449/0.2472, allocations: 294.6 kB / 0.7933 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002705/0.2475, allocations: 266.4 kB / 0.7936 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.683e-05/0.2476, allocations: 20 kB / 0.7936 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.63e-05/0.2476, allocations: 24 kB / 0.7936 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.983e-05/0.2477, allocations: 107.4 kB / 0.7937 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.651e-05/0.2478, allocations: 141.3 kB / 0.7939 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004833/0.2483, allocations: 0.6158 MB / 0.7945 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.2483, allocations: 4 kB / 0.7945 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.184e-06/0.2483, allocations: 3.938 kB / 0.7945 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.327e-06/0.2484, allocations: 0 / 0.7945 GB, free: 4.41 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.001684/0.25, allocations: 1.067 MB / 0.7955 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.2501, allocations: 8.031 kB / 0.7955 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001053/0.2502, allocations: 98.52 kB / 0.7956 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001362/0.2503, allocations: 94.86 kB / 0.7957 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008615/0.2512, allocations: 0.5706 MB / 0.7963 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001086/0.2513, allocations: 104.4 kB / 0.7964 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.98e-05/0.2514, allocations: 56 kB / 0.7964 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009658/0.2524, allocations: 0.604 MB / 0.797 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.2524, allocations: 0 / 0.797 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.913e-05/0.2525, allocations: 24 kB / 0.797 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/0.2525, allocations: 12 kB / 0.797 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008922/0.2534, allocations: 439.7 kB / 0.7975 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002558/0.2559, allocations: 2.141 MB / 0.7996 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001156/0.2571, allocations: 0.5234 MB / 0.8001 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.566e-05/0.2572, allocations: 4.719 kB / 0.8001 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006286/0.2578, allocations: 301.9 kB / 0.8004 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=45): time 2.034e-06/0.2578, allocations: 224 / 0.8004 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.001345/0.2592, allocations: 0.6383 MB / 0.801 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.364e-05/0.2592, allocations: 92.8 kB / 0.8011 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005954/0.2598, allocations: 0.6061 MB / 0.8017 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.26e-05/0.2599, allocations: 37.7 kB / 0.8017 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002351/0.2601, allocations: 364.8 kB / 0.802 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.2602, allocations: 153.8 kB / 0.8022 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.531e-05/0.2603, allocations: 12 kB / 0.8022 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.901e-05/0.2604, allocations: 337.9 kB / 0.8025 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003987/0.2608, allocations: 181 kB / 0.8027 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004547/0.2612, allocations: 284.2 kB / 0.803 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004412/0.2617, allocations: 234.5 kB / 0.8032 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.2617, allocations: 0 / 0.8032 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001072/0.2628, allocations: 0.6099 MB / 0.8038 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003253/0.2631, allocations: 0.9975 MB / 0.8048 GB, free: 9.426 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.2631, allocations: 0 / 0.8048 GB, free: 9.426 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.2632, allocations: 8 kB / 0.8048 GB, free: 9.418 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004568/0.2636, allocations: 111.8 kB / 0.8049 GB, free: 9.309 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.2636, allocations: 11.92 kB / 0.8049 GB, free: 9.297 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003719/0.264, allocations: 71.42 kB / 0.805 GB, free: 9.227 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.986e-05/0.2641, allocations: 23.98 kB / 0.805 GB, free: 9.203 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.545e-06/0.2641, allocations: 7.938 kB / 0.805 GB, free: 9.195 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008837/0.265, allocations: 0.496 MB / 0.8055 GB, free: 8.691 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.265, allocations: 3.984 kB / 0.8055 GB, free: 8.688 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.476e-06/0.265, allocations: 11.95 kB / 0.8055 GB, free: 8.676 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004109/0.2654, allocations: 103.9 kB / 0.8056 GB, free: 8.574 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.2654, allocations: 12.19 kB / 0.8056 GB, free: 8.562 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003197/0.2658, allocations: 59.5 kB / 0.8057 GB, free: 8.504 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.202e-05/0.2658, allocations: 20 kB / 0.8057 GB, free: 8.484 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 ($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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000264/0.2661, allocations: 265.1 kB / 0.8059 GB, free: 8.215 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.122e-05/0.2662, allocations: 71.16 kB / 0.806 GB, free: 8.145 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001385/0.2663, allocations: 91.22 kB / 0.8061 GB, free: 8.051 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.2663, allocations: 8 kB / 0.8061 GB, free: 8.043 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.2663, allocations: 0 / 0.8061 GB, free: 8.043 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.2663, allocations: 0 / 0.8061 GB, free: 8.043 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005944/0.2669, allocations: 0.6257 MB / 0.8067 GB, free: 7.367 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.2669, allocations: 4 kB / 0.8067 GB, free: 7.363 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004335/0.2674, allocations: 87.89 kB / 0.8068 GB, free: 7.277 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.2674, allocations: 4 kB / 0.8068 GB, free: 7.273 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.887e-05/0.2674, allocations: 11.98 kB / 0.8068 GB, free: 7.262 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.2674, allocations: 11.95 kB / 0.8068 GB, free: 7.25 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2674, allocations: 3.984 kB / 0.8068 GB, free: 7.246 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001362/0.2688, allocations: 0.7394 MB / 0.8075 GB, free: 6.484 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002105/0.269, allocations: 192.1 kB / 0.8077 GB, free: 6.277 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.776e-05/0.2691, allocations: 8 kB / 0.8077 GB, free: 6.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003826/0.2695, allocations: 47.95 kB / 0.8078 GB, free: 6.223 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.84e-05/0.2696, allocations: 31.91 kB / 0.8078 GB, free: 6.191 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.271e-05/0.2696, allocations: 27.92 kB / 0.8078 GB, free: 6.164 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004363/0.2701, allocations: 423 kB / 0.8082 GB, free: 5.758 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2701, allocations: 4 kB / 0.8082 GB, free: 5.754 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005389/0.2706, allocations: 219.2 kB / 0.8084 GB, free: 5.539 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001621/0.2723, allocations: 1.3 MB / 0.8097 GB, free: 4.211 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001402/0.2737, allocations: 0.8085 MB / 0.8105 GB, free: 3.379 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2737, allocations: 0 / 0.8105 GB, free: 3.379 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004328/0.2741, allocations: 224.4 kB / 0.8107 GB, free: 3.16 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007518/0.2749, allocations: 174.7 kB / 0.8109 GB, free: 2.984 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002774/0.2777, allocations: 3.3 MB / 0.8141 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004288/0.2781, allocations: 0.9338 MB / 0.815 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003472/0.2785, allocations: 93.44 kB / 0.8151 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003234/0.2788, allocations: 267.3 kB / 0.8154 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of SimCode: time 3.71e-07/0.2788, allocations: 0 / 0.8154 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02401/0.3028, allocations: 12.89 MB / 0.8279 GB, free: 1.602 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000167/0.303, allocations: 177 kB / 0.8281 GB, free: 1.355 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.926/2.229, allocations: 0 / 0.8281 GB, free: 1.355 MB / 0.6387 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_Continuous_Examples_LimPID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_Continuous_Examples_LimPID.fmu > Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1) Environment - environmentSimulation: