Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_LimPIDWithReset",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.001028/0.001028, allocations: 108 kB / 15.61 MB, free: 152 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.0009748/0.0009748, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.3/1.3, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9484/0.9484, allocations: 143 MB / 433.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 60.14 kB / 0.5143 GB, free: 11.58 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1395, allocations: 82.03 MB / 0.5944 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.004867/0.1444, allocations: 4.097 MB / 0.5984 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002024/0.1465, allocations: 1.321 MB / 0.5997 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002747/0.1468, allocations: 27.88 kB / 0.5997 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002894/0.1471, allocations: 126.7 kB / 0.5998 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003084/0.1474, allocations: 178.4 kB / 0.6 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007337/0.1481, allocations: 412.4 kB / 0.6004 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0007511/0.1489, allocations: 0.9516 MB / 0.6013 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005586/0.1495, allocations: 458.1 kB / 0.6017 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003034/0.1498, allocations: 330.7 kB / 0.6021 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003042/0.1501, allocations: 338.4 kB / 0.6024 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.1502, allocations: 92 kB / 0.6025 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.1503, allocations: 92 kB / 0.6026 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001234/0.1504, allocations: 171.4 kB / 0.6027 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002854/0.1507, allocations: 402 kB / 0.6031 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.2326/0.3834, allocations: 1.079 MB / 0.6042 GB, free: 39.27 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3834, allocations: 0 / 0.6042 GB, free: 39.27 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3834, allocations: 0 / 0.6042 GB, free: 39.27 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.773e-05/0.3835, allocations: 0 / 0.6042 GB, free: 39.27 MB / 0.4981 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.001653/0.3851, allocations: 1.079 MB / 0.6052 GB, free: 38.64 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.3852, allocations: 11.62 kB / 0.6052 GB, free: 38.64 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.729e-05/0.3853, allocations: 95.88 kB / 0.6053 GB, free: 38.6 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.3854, allocations: 83.72 kB / 0.6054 GB, free: 38.56 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006626/0.386, allocations: 0.5487 MB / 0.6059 GB, free: 38.29 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.709e-05/0.3861, allocations: 44.62 kB / 0.606 GB, free: 38.29 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.101e-05/0.3862, allocations: 63.94 kB / 0.606 GB, free: 38.29 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008746/0.387, allocations: 0.6101 MB / 0.6066 GB, free: 38.19 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.3871, allocations: 0.6562 kB / 0.6066 GB, free: 38.19 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.941e-05/0.3871, allocations: 24.81 kB / 0.6067 GB, free: 38.19 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.3871, allocations: 13.91 kB / 0.6067 GB, free: 38.19 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008783/0.388, allocations: 459.3 kB / 0.6071 GB, free: 38.18 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002233/0.3903, allocations: 2.02 MB / 0.6091 GB, free: 37.54 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007958/0.3911, allocations: 439.6 kB / 0.6095 GB, free: 37.51 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004032/0.3915, allocations: 249.1 kB / 0.6097 GB, free: 37.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.681e-05/0.3915, allocations: 3.156 kB / 0.6097 GB, free: 37.5 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004581/0.392, allocations: 259.3 kB / 0.61 GB, free: 37.45 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=49): time 1.944e-06/0.392, allocations: 3.875 kB / 0.61 GB, free: 37.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=49): time 0.001118/0.3931, allocations: 0.589 MB / 0.6106 GB, free: 37.37 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/0.3932, allocations: 57.44 kB / 0.6106 GB, free: 37.31 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003779/0.3936, allocations: 439.2 kB / 0.611 GB, free: 37.19 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.035e-05/0.3936, allocations: 39.59 kB / 0.6111 GB, free: 37.16 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.3938, allocations: 322.8 kB / 0.6114 GB, free: 37 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.333e-05/0.3938, allocations: 164.4 kB / 0.6115 GB, free: 36.89 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.394, allocations: 95.88 kB / 0.6116 GB, free: 36.88 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.637e-05/0.3941, allocations: 367.4 kB / 0.612 GB, free: 36.56 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003472/0.3944, allocations: 166.9 kB / 0.6121 GB, free: 36.56 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003646/0.3948, allocations: 255.3 kB / 0.6124 GB, free: 36.48 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006952/0.3955, allocations: 448 kB / 0.6128 GB, free: 36.3 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3955, allocations: 0.9375 kB / 0.6128 GB, free: 36.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008827/0.3964, allocations: 0.5651 MB / 0.6134 GB, free: 36.04 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.3964, allocations: 34.77 kB / 0.6134 GB, free: 36.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.3964, allocations: 3.156 kB / 0.6134 GB, free: 36.01 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.3965, allocations: 8.891 kB / 0.6134 GB, free: 36.01 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004657/0.3969, allocations: 112.6 kB / 0.6135 GB, free: 36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.3969, allocations: 2.906 kB / 0.6135 GB, free: 36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002972/0.3972, allocations: 61.97 kB / 0.6136 GB, free: 35.97 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.196e-05/0.3973, allocations: 22.41 kB / 0.6136 GB, free: 35.96 MB / 0.4981 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 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002/0.3975, allocations: 213.6 kB / 0.6138 GB, free: 35.79 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.013e-05/0.3976, allocations: 61.06 kB / 0.6139 GB, free: 35.76 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.3977, allocations: 63.58 kB / 0.6139 GB, free: 35.72 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.88e-06/0.3977, allocations: 5.375 kB / 0.6139 GB, free: 35.72 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.3977, allocations: 0.5 kB / 0.6139 GB, free: 35.72 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.3977, allocations: 3.453 kB / 0.6139 GB, free: 35.72 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001379/0.3991, allocations: 1.178 MB / 0.6151 GB, free: 35.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3991, allocations: 0 / 0.6151 GB, free: 35.06 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004497/0.3996, allocations: 98.58 kB / 0.6152 GB, free: 35.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.3996, allocations: 2.875 kB / 0.6152 GB, free: 35.05 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.902e-05/0.3996, allocations: 10.72 kB / 0.6152 GB, free: 35.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.3996, allocations: 6.844 kB / 0.6152 GB, free: 35.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3996, allocations: 1.312 kB / 0.6152 GB, free: 35.04 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/0.4007, allocations: 0.7585 MB / 0.6159 GB, free: 34.65 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.4009, allocations: 172.6 kB / 0.6161 GB, free: 34.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.247e-05/0.401, allocations: 14.56 kB / 0.6161 GB, free: 34.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002859/0.4012, allocations: 26.28 kB / 0.6161 GB, free: 34.48 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.395e-05/0.4013, allocations: 33.33 kB / 0.6162 GB, free: 34.47 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-05/0.4014, allocations: 12.28 kB / 0.6162 GB, free: 34.47 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002642/0.4016, allocations: 310.3 kB / 0.6165 GB, free: 34.32 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4016, allocations: 0 / 0.6165 GB, free: 34.32 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003854/0.402, allocations: 140.5 kB / 0.6166 GB, free: 34.28 MB / 0.4981 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 (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.00131/0.4034, allocations: 1.319 MB / 0.6179 GB, free: 33.35 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009662/0.4043, allocations: 0.496 MB / 0.6184 GB, free: 33.13 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4043, allocations: 3.5 kB / 0.6184 GB, free: 33.13 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003658/0.4047, allocations: 219.4 kB / 0.6186 GB, free: 33.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007343/0.4055, allocations: 159.3 kB / 0.6188 GB, free: 33.04 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005746/0.4112, allocations: 4.887 MB / 0.6235 GB, free: 30.13 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.4116, allocations: 0.8947 MB / 0.6244 GB, free: 29.42 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002864/0.4119, allocations: 63.58 kB / 0.6245 GB, free: 29.41 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002775/0.4121, allocations: 223.5 kB / 0.6247 GB, free: 29.24 MB / 0.4981 GB Notification: Performance of SimCode: time 4.31e-07/0.4122, allocations: 0 / 0.6247 GB, free: 29.24 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03761/0.4498, allocations: 11.14 MB / 0.6356 GB, free: 28.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.829/9.279, allocations: 7.844 kB / 0.6356 GB, free: 28.3 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_LimPIDWithReset_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_LimPIDWithReset.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)