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.001122/0.001122, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001087/0.001087, allocations: 194.2 kB / 16.25 MB, free: 6.637 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.163/1.163, allocations: 222.9 MB / 239.9 MB, free: 4.539 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.8556/0.8556, allocations: 143.1 MB / 433.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00105/0.00105, allocations: 60.05 kB / 0.5138 GB, free: 11.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1218, allocations: 82.05 MB / 0.5939 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.004313/0.1262, allocations: 4.115 MB / 0.5979 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001631/0.1278, allocations: 1.282 MB / 0.5992 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002272/0.128, allocations: 19.94 kB / 0.5992 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000247/0.1283, allocations: 91.22 kB / 0.5993 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002708/0.1286, allocations: 146.8 kB / 0.5994 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006419/0.1292, allocations: 384.8 kB / 0.5998 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0007117/0.1299, allocations: 0.9671 MB / 0.6007 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000506/0.1305, allocations: 454 kB / 0.6012 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000257/0.1307, allocations: 322.8 kB / 0.6015 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002642/0.131, allocations: 338.4 kB / 0.6018 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.667e-05/0.1311, allocations: 96 kB / 0.6019 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.091e-05/0.1312, allocations: 88 kB / 0.602 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.1313, allocations: 183.4 kB / 0.6021 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002554/0.1316, allocations: 390 kB / 0.6025 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.1866/0.3182, allocations: 1.088 MB / 0.6036 GB, free: 39.16 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.3183, allocations: 0.9375 kB / 0.6036 GB, free: 39.16 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3183, allocations: 0 / 0.6036 GB, free: 39.16 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.658e-05/0.3183, allocations: 1.344 kB / 0.6036 GB, free: 39.16 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.0015/0.3198, allocations: 1.072 MB / 0.6046 GB, free: 38.55 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.3199, allocations: 16.78 kB / 0.6046 GB, free: 38.55 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.755e-05/0.3199, allocations: 97.53 kB / 0.6047 GB, free: 38.51 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.492e-05/0.32, allocations: 80.88 kB / 0.6048 GB, free: 38.47 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005591/0.3206, allocations: 0.5523 MB / 0.6054 GB, free: 38.2 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.403e-05/0.3206, allocations: 42.72 kB / 0.6054 GB, free: 38.2 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.679e-05/0.3207, allocations: 56.84 kB / 0.6054 GB, free: 38.2 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008233/0.3215, allocations: 0.6118 MB / 0.606 GB, free: 38.09 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.3216, allocations: 1.438 kB / 0.606 GB, free: 38.09 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.33e-05/0.3216, allocations: 26.41 kB / 0.6061 GB, free: 38.09 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.3216, allocations: 14.28 kB / 0.6061 GB, free: 38.09 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007645/0.3224, allocations: 459.9 kB / 0.6065 GB, free: 38.09 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001933/0.3244, allocations: 2.011 MB / 0.6085 GB, free: 37.44 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006918/0.3251, allocations: 441.8 kB / 0.6089 GB, free: 37.42 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003362/0.3254, allocations: 246.8 kB / 0.6091 GB, free: 37.41 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.496e-05/0.3254, allocations: 12.69 kB / 0.6092 GB, free: 37.41 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004522/0.3259, allocations: 258.1 kB / 0.6094 GB, free: 37.35 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=49): time 1.723e-06/0.3259, allocations: 0 / 0.6094 GB, free: 37.35 MB / 0.4981 GB Notification: Performance of matching and sorting (n=49): time 0.0009942/0.3269, allocations: 0.5865 MB / 0.61 GB, free: 37.28 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/0.3269, allocations: 60.59 kB / 0.61 GB, free: 37.21 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003257/0.3273, allocations: 437.6 kB / 0.6105 GB, free: 37.1 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.3273, allocations: 38.11 kB / 0.6105 GB, free: 37.07 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.3274, allocations: 328.3 kB / 0.6108 GB, free: 36.9 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.083e-05/0.3275, allocations: 163.4 kB / 0.611 GB, free: 36.8 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.3276, allocations: 98.75 kB / 0.611 GB, free: 36.78 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.683e-05/0.3277, allocations: 362.5 kB / 0.6114 GB, free: 36.47 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003033/0.328, allocations: 170.1 kB / 0.6116 GB, free: 36.47 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003177/0.3283, allocations: 248.1 kB / 0.6118 GB, free: 36.39 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005996/0.3289, allocations: 453.8 kB / 0.6122 GB, free: 36.27 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.3289, allocations: 3 kB / 0.6122 GB, free: 36.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.000775/0.3297, allocations: 0.5596 MB / 0.6128 GB, free: 36.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.3298, allocations: 35.33 kB / 0.6128 GB, free: 35.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.3298, allocations: 3.469 kB / 0.6128 GB, free: 35.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.3298, allocations: 6.062 kB / 0.6128 GB, free: 35.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004065/0.3302, allocations: 112.4 kB / 0.6129 GB, free: 35.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.3302, allocations: 10.69 kB / 0.6129 GB, free: 35.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000279/0.3305, allocations: 64.05 kB / 0.613 GB, free: 35.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.025e-05/0.3305, allocations: 21.14 kB / 0.613 GB, free: 35.94 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.0001596/0.3307, allocations: 207.4 kB / 0.6132 GB, free: 35.77 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.046e-05/0.3308, allocations: 56.62 kB / 0.6133 GB, free: 35.74 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001/0.3309, allocations: 70.47 kB / 0.6133 GB, free: 35.69 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.3309, allocations: 5.75 kB / 0.6133 GB, free: 35.69 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3309, allocations: 0.75 kB / 0.6133 GB, free: 35.69 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.3309, allocations: 3.375 kB / 0.6133 GB, free: 35.69 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/0.3321, allocations: 1.178 MB / 0.6145 GB, free: 35.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.3321, allocations: 4.656 kB / 0.6145 GB, free: 35.03 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004054/0.3326, allocations: 91.44 kB / 0.6146 GB, free: 35.03 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.3326, allocations: 0 / 0.6146 GB, free: 35.03 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.747e-05/0.3326, allocations: 15.19 kB / 0.6146 GB, free: 35.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3326, allocations: 0 / 0.6146 GB, free: 35.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3326, allocations: 0 / 0.6146 GB, free: 35.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009723/0.3336, allocations: 0.762 MB / 0.6153 GB, free: 34.62 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.3337, allocations: 181 kB / 0.6155 GB, free: 34.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.631e-05/0.3338, allocations: 11 kB / 0.6155 GB, free: 34.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002721/0.3341, allocations: 27.73 kB / 0.6156 GB, free: 34.45 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.183e-05/0.3341, allocations: 35.3 kB / 0.6156 GB, free: 34.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-05/0.3342, allocations: 21 kB / 0.6156 GB, free: 34.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002177/0.3344, allocations: 305.9 kB / 0.6159 GB, free: 34.28 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3344, allocations: 0 / 0.6159 GB, free: 34.28 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000339/0.3347, allocations: 142.8 kB / 0.616 GB, free: 34.25 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.001129/0.3359, allocations: 1.324 MB / 0.6173 GB, free: 33.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008416/0.3367, allocations: 0.4988 MB / 0.6178 GB, free: 33.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3367, allocations: 0 / 0.6178 GB, free: 33.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003161/0.337, allocations: 215.3 kB / 0.618 GB, free: 33.04 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006217/0.3377, allocations: 158.3 kB / 0.6182 GB, free: 33 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005416/0.3431, allocations: 5.133 MB / 0.6232 GB, free: 29.84 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000209/0.3433, allocations: 0.89 MB / 0.6241 GB, free: 29.13 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002232/0.3436, allocations: 65.86 kB / 0.6241 GB, free: 29.12 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002118/0.3438, allocations: 220 kB / 0.6243 GB, free: 28.95 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.3438, allocations: 0 / 0.6243 GB, free: 28.95 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.064/2.408, allocations: 10.98 MB / 0.635 GB, free: 28.14 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001401/2.408, allocations: 212.1 kB / 0.6353 GB, free: 27.89 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.804/4.212, allocations: 3.375 kB / 0.6353 GB, free: 27.89 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)