Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.847/1.847, allocations: 288.4 MB / 303.3 MB, free: 8.109 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001025/0.001025, allocations: 179.4 kB / 372 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.536/1.536, allocations: 205.4 MB / 0.6307 GB, free: 9.957 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008393/0.0008393, allocations: 92.8 kB / 0.744 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004275/0.0004278, allocations: 15.22 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1984/0.1989, allocations: 115.3 MB / 0.9796 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.003141/0.202, allocations: 3.529 MB / 0.9831 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001946/0.204, allocations: 1.287 MB / 0.9843 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003943/0.2044, allocations: 19.94 kB / 0.9844 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002005/0.2046, allocations: 87.2 kB / 0.9844 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002344/0.2049, allocations: 138.8 kB / 0.9846 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005956/0.2055, allocations: 290.5 kB / 0.9848 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005215/0.206, allocations: 0.8345 MB / 0.9857 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003366/0.2064, allocations: 299.5 kB / 0.9859 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001859/0.2066, allocations: 218.9 kB / 0.9862 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001931/0.2068, allocations: 254.5 kB / 0.9864 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.296e-05/0.2068, allocations: 24 kB / 0.9864 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.192e-05/0.2069, allocations: 20 kB / 0.9864 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.823e-05/0.207, allocations: 95.48 kB / 0.9865 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.134e-05/0.207, allocations: 153.3 kB / 0.9867 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004482/0.2075, allocations: 0.8066 MB / 0.9875 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.2075, allocations: 0 / 0.9875 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.442e-06/0.2075, allocations: 0 / 0.9875 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.047e-05/0.2075, allocations: 0 / 0.9875 GB, free: 19.48 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001358/0.2089, allocations: 0.96 MB / 0.9884 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.2089, allocations: 16.02 kB / 0.9884 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.391e-05/0.209, allocations: 106.4 kB / 0.9885 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.867e-05/0.2091, allocations: 90.91 kB / 0.9886 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006313/0.2098, allocations: 0.5252 MB / 0.9891 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.919e-05/0.2098, allocations: 45.31 kB / 0.9892 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.948e-05/0.2099, allocations: 56 kB / 0.9892 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009032/0.2108, allocations: 0.6114 MB / 0.9898 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.2108, allocations: 3.938 kB / 0.9898 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.439e-05/0.2109, allocations: 24 kB / 0.9898 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.2109, allocations: 12 kB / 0.9899 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000845/0.2118, allocations: 469 kB / 0.9903 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002229/0.214, allocations: 2.032 MB / 0.9923 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007859/0.2148, allocations: 447.4 kB / 0.9927 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003805/0.2152, allocations: 250 kB / 0.993 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.262e-05/0.2152, allocations: 4.438 kB / 0.993 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005066/0.2157, allocations: 269.3 kB / 0.9932 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=49): time 2.946e-06/0.2158, allocations: 0 / 0.9932 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49): time 0.001235/0.217, allocations: 0.5999 MB / 0.9938 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.217, allocations: 55.84 kB / 0.9939 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003831/0.2174, allocations: 450 kB / 0.9943 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.158e-05/0.2175, allocations: 29.7 kB / 0.9943 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.2176, allocations: 328.3 kB / 0.9946 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.501e-05/0.2177, allocations: 169.5 kB / 0.9948 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.156e-05/0.2178, allocations: 12 kB / 0.9948 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.057e-05/0.2178, allocations: 366.8 kB / 0.9951 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003386/0.2182, allocations: 165 kB / 0.9953 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003595/0.2185, allocations: 257.8 kB / 0.9955 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003778/0.2189, allocations: 223.9 kB / 0.9958 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2189, allocations: 4 kB / 0.9958 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008745/0.2198, allocations: 0.5663 MB / 0.9963 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.873e-05/0.2199, allocations: 33.7 kB / 0.9963 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.2199, allocations: 3.953 kB / 0.9964 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.2199, allocations: 8.25 kB / 0.9964 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004921/0.2204, allocations: 119.8 kB / 0.9965 GB, free: 9.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.2204, allocations: 8 kB / 0.9965 GB, free: 9.922 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003427/0.2208, allocations: 71.44 kB / 0.9966 GB, free: 9.852 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.24e-05/0.2208, allocations: 20 kB / 0.9966 GB, free: 9.832 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.trigger.y,conNoRes.trigger.y,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * 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.0002305/0.221, allocations: 211.8 kB / 0.9968 GB, free: 9.617 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.541e-05/0.2211, allocations: 55.34 kB / 0.9968 GB, free: 9.562 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001064/0.2212, allocations: 61.59 kB / 0.9969 GB, free: 9.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.2212, allocations: 7.953 kB / 0.9969 GB, free: 9.492 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.2212, allocations: 0 / 0.9969 GB, free: 9.492 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.2213, allocations: 7.984 kB / 0.9969 GB, free: 9.484 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001421/0.2227, allocations: 1.181 MB / 0.9981 GB, free: 8.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.2227, allocations: 0 / 0.9981 GB, free: 8.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004408/0.2231, allocations: 103.9 kB / 0.9982 GB, free: 8.148 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.2232, allocations: 3.953 kB / 0.9982 GB, free: 8.145 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.75e-05/0.2232, allocations: 15.94 kB / 0.9982 GB, free: 8.129 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.2232, allocations: 4 kB / 0.9982 GB, free: 8.125 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2232, allocations: 0 / 0.9982 GB, free: 8.125 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/0.2244, allocations: 0.7718 MB / 0.9989 GB, free: 7.336 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001435/0.2245, allocations: 164.4 kB / 0.9991 GB, free: 7.156 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.777e-05/0.2246, allocations: 19.94 kB / 0.9991 GB, free: 7.137 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003081/0.2249, allocations: 35.92 kB / 0.9991 GB, free: 7.102 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.766e-05/0.225, allocations: 36.38 kB / 0.9992 GB, free: 7.066 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.379e-05/0.225, allocations: 12 kB / 0.9992 GB, free: 7.055 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002689/0.2253, allocations: 306.9 kB / 0.9995 GB, free: 6.758 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2253, allocations: 4 kB / 0.9995 GB, free: 6.754 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004054/0.2257, allocations: 143.4 kB / 0.9996 GB, free: 6.613 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * 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.001337/0.227, allocations: 1.321 MB / 1.001 GB, free: 5.266 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008438/0.2279, allocations: 493.5 kB / 1.001 GB, free: 4.77 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2279, allocations: 0 / 1.001 GB, free: 4.77 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003933/0.2283, allocations: 222.4 kB / 1.002 GB, free: 4.555 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007244/0.229, allocations: 147.3 kB / 1.002 GB, free: 4.414 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005271/0.2343, allocations: 3.581 MB / 1.005 GB, free: 0.75 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.2347, allocations: 0.8863 MB / 1.006 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003087/0.235, allocations: 64.58 kB / 1.006 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003024/0.2353, allocations: 215.4 kB / 1.006 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of SimCode: time 1.102e-06/0.2353, allocations: 0 / 1.006 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02546/0.2608, allocations: 10.69 MB / 1.017 GB, free: 5.098 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002254/0.261, allocations: 202 kB / 1.017 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.258/2.519, allocations: 0 / 1.017 GB, free: 4.855 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_LimPIDWithReset_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_LimPIDWithReset.fmu > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)