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.0006964/0.0006965, allocations: 91.14 kB / 15.06 MB, free: 1.094 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.0007218/0.0007218, allocations: 172.7 kB / 15.95 MB, free: 204 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.148/1.148, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.488/1.488, allocations: 292.7 MB / 0.5499 GB, free: 14.52 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.0004437/0.0004438, allocations: 19.81 kB / 0.6738 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.178/0.1785, allocations: 116.3 MB / 0.7874 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.002989/0.1815, allocations: 3.146 MB / 0.7905 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001755/0.1833, allocations: 1.306 MB / 0.7917 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002412/0.1835, allocations: 27.88 kB / 0.7918 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002103/0.1837, allocations: 91.09 kB / 0.7919 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000356/0.1841, allocations: 127 kB / 0.792 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008676/0.185, allocations: 470.4 kB / 0.7924 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006652/0.1856, allocations: 0.8238 MB / 0.7932 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003323/0.186, allocations: 259.1 kB / 0.7935 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002695/0.1863, allocations: 266.5 kB / 0.7937 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002413/0.1865, allocations: 262.3 kB / 0.794 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.463e-05/0.1866, allocations: 24 kB / 0.794 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.144e-05/0.1866, allocations: 20 kB / 0.794 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.076e-05/0.1867, allocations: 107.4 kB / 0.7941 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.204e-05/0.1868, allocations: 149.2 kB / 0.7943 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004323/0.1873, allocations: 0.6198 MB / 0.7949 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1873, allocations: 0 / 0.7949 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1873, allocations: 0 / 0.7949 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.1873, allocations: 0 / 0.7949 GB, free: 4.117 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.001461/0.1887, allocations: 1.063 MB / 0.7959 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.1888, allocations: 12.03 kB / 0.7959 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.642e-05/0.1889, allocations: 98.52 kB / 0.796 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.189, allocations: 90.88 kB / 0.7961 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007455/0.1897, allocations: 0.5784 MB / 0.7967 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.302e-05/0.1899, allocations: 108.3 kB / 0.7968 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.021e-05/0.1899, allocations: 48 kB / 0.7968 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009132/0.1908, allocations: 0.608 MB / 0.7974 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.1909, allocations: 0 / 0.7974 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.298e-05/0.1909, allocations: 20 kB / 0.7974 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.1909, allocations: 15.98 kB / 0.7974 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008202/0.1918, allocations: 439.7 kB / 0.7979 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002224/0.194, allocations: 2.141 MB / 0.8 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.195, allocations: 0.5108 MB / 0.8005 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003923/0.1954, allocations: 231.5 kB / 0.8007 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.356e-05/0.1955, allocations: 8 kB / 0.8007 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005629/0.196, allocations: 294 kB / 0.801 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=45): time 1.603e-06/0.196, allocations: 0 / 0.801 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.001213/0.1973, allocations: 0.6422 MB / 0.8016 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.1973, allocations: 92.8 kB / 0.8017 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005754/0.1979, allocations: 0.6022 MB / 0.8023 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.613e-05/0.1979, allocations: 37.7 kB / 0.8023 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002226/0.1982, allocations: 368.8 kB / 0.8027 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.634e-05/0.1983, allocations: 153.8 kB / 0.8028 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.247e-05/0.1983, allocations: 13.09 kB / 0.8028 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 8.935e-05/0.1984, allocations: 329.9 kB / 0.8031 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000377/0.1988, allocations: 185 kB / 0.8033 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004183/0.1992, allocations: 292.1 kB / 0.8036 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004053/0.1996, allocations: 234.4 kB / 0.8038 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1996, allocations: 0 / 0.8038 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0009966/0.2006, allocations: 0.6141 MB / 0.8044 GB, free: 9.98 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.919e-05/0.2007, allocations: 201 kB / 0.8046 GB, free: 9.742 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.2008, allocations: 0 / 0.8046 GB, free: 9.742 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.2008, allocations: 8 kB / 0.8046 GB, free: 9.734 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004115/0.2012, allocations: 111.8 kB / 0.8047 GB, free: 9.625 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.2012, allocations: 11.95 kB / 0.8047 GB, free: 9.613 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003067/0.2015, allocations: 71.41 kB / 0.8048 GB, free: 9.543 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.182e-05/0.2016, allocations: 19.98 kB / 0.8048 GB, free: 9.523 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.43e-06/0.2016, allocations: 4 kB / 0.8048 GB, free: 9.52 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008336/0.2024, allocations: 0.5037 MB / 0.8053 GB, free: 9.008 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-06/0.2024, allocations: 0 / 0.8053 GB, free: 9.008 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.981e-06/0.2024, allocations: 8.312 kB / 0.8053 GB, free: 9 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003881/0.2028, allocations: 107.8 kB / 0.8054 GB, free: 8.895 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.2028, allocations: 4 kB / 0.8054 GB, free: 8.891 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002743/0.2031, allocations: 59.5 kB / 0.8055 GB, free: 8.832 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.048e-05/0.2032, allocations: 20 kB / 0.8055 GB, free: 8.812 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.0002211/0.2034, allocations: 273.6 kB / 0.8058 GB, free: 8.535 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.384e-05/0.2035, allocations: 79.06 kB / 0.8058 GB, free: 8.457 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000145/0.2036, allocations: 87.33 kB / 0.8059 GB, free: 8.367 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.2036, allocations: 4 kB / 0.8059 GB, free: 8.363 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.2036, allocations: 0 / 0.8059 GB, free: 8.363 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.2036, allocations: 3.984 kB / 0.8059 GB, free: 8.359 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005333/0.2042, allocations: 0.6102 MB / 0.8065 GB, free: 7.699 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.2042, allocations: 3.953 kB / 0.8065 GB, free: 7.695 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004026/0.2046, allocations: 95.88 kB / 0.8066 GB, free: 7.602 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.2046, allocations: 0 / 0.8066 GB, free: 7.602 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.858e-05/0.2046, allocations: 12 kB / 0.8066 GB, free: 7.59 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.2047, allocations: 4 kB / 0.8066 GB, free: 7.586 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2047, allocations: 0 / 0.8066 GB, free: 7.586 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/0.2059, allocations: 0.7471 MB / 0.8074 GB, free: 6.816 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001764/0.2061, allocations: 192.1 kB / 0.8075 GB, free: 6.609 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.424e-05/0.2062, allocations: 8 kB / 0.8075 GB, free: 6.602 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003312/0.2065, allocations: 51.95 kB / 0.8076 GB, free: 6.551 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.307e-05/0.2066, allocations: 27.95 kB / 0.8076 GB, free: 6.523 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.249e-05/0.2066, allocations: 19.98 kB / 0.8076 GB, free: 6.504 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004089/0.207, allocations: 423 kB / 0.808 GB, free: 6.098 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.122e-06/0.2071, allocations: 0 / 0.808 GB, free: 6.098 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005101/0.2076, allocations: 227.2 kB / 0.8083 GB, free: 5.875 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.001489/0.2091, allocations: 1.312 MB / 0.8095 GB, free: 4.535 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001276/0.2104, allocations: 0.8003 MB / 0.8103 GB, free: 3.711 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2104, allocations: 0 / 0.8103 GB, free: 3.711 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004051/0.2108, allocations: 236.8 kB / 0.8106 GB, free: 3.48 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000715/0.2115, allocations: 178.2 kB / 0.8107 GB, free: 3.305 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005263/0.2168, allocations: 4.015 MB / 0.8146 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.2171, allocations: 0.9183 MB / 0.8155 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003502/0.2175, allocations: 93.19 kB / 0.8156 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003059/0.2178, allocations: 259.4 kB / 0.8159 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of SimCode: time 3.21e-07/0.2178, allocations: 0 / 0.8159 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02218/0.24, allocations: 13.3 MB / 0.8289 GB, free: 0.8125 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001378/0.2402, allocations: 176.5 kB / 0.829 GB, free: 0.5703 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.709/1.949, allocations: 0 / 0.829 GB, free: 0.5703 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: