Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.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.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer",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.0008669/0.0008671, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005086/0.005086, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.349/1.349, allocations: 223.3 MB / 240.3 MB, free: 5.34 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 1.015/1.015, allocations: 143.2 MB / 434.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003317/0.0003317, allocations: 8 kB / 0.5165 GB, free: 11.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.1841, allocations: 83.41 MB / 0.598 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.003755/0.1879, allocations: 2.773 MB / 0.6007 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00157/0.1895, allocations: 0.9117 MB / 0.6016 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002175/0.1898, allocations: 15.94 kB / 0.6016 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001954/0.19, allocations: 55.5 kB / 0.6016 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001794/0.1901, allocations: 71.44 kB / 0.6017 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004981/0.1907, allocations: 222.2 kB / 0.6019 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004714/0.1911, allocations: 0.4998 MB / 0.6024 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003601/0.1915, allocations: 235.3 kB / 0.6026 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001825/0.1917, allocations: 151 kB / 0.6028 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001846/0.1919, allocations: 155 kB / 0.6029 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.7e-05/0.1919, allocations: 12 kB / 0.6029 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.492e-05/0.192, allocations: 12 kB / 0.6029 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.064e-05/0.192, allocations: 67.62 kB / 0.603 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001604/0.1922, allocations: 208.4 kB / 0.6032 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004516/0.1927, allocations: 0.5528 MB / 0.6037 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1927, allocations: 0 / 0.6037 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.874e-06/0.1927, allocations: 0 / 0.6037 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.1927, allocations: 4 kB / 0.6037 GB, free: 1.594 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001041/0.1937, allocations: 0.6921 MB / 0.6044 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.1938, allocations: 8.031 kB / 0.6044 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.311e-05/0.1939, allocations: 74.72 kB / 0.6045 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.049e-05/0.194, allocations: 56.36 kB / 0.6046 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000522/0.1945, allocations: 404.6 kB / 0.6049 GB, free: 280 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.491e-05/0.1945, allocations: 33.31 kB / 0.605 GB, free: 248 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.504e-05/0.1946, allocations: 36.38 kB / 0.605 GB, free: 212 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2975/0.4921, allocations: 400.7 kB / 0.6054 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.4922, allocations: 1.625 kB / 0.6054 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.359e-05/0.4923, allocations: 14.19 kB / 0.6054 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.4923, allocations: 11.86 kB / 0.6054 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005738/0.4929, allocations: 274.9 kB / 0.6057 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001543/0.4944, allocations: 1.327 MB / 0.607 GB, free: 40 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006185/0.4951, allocations: 318.3 kB / 0.6073 GB, free: 39.98 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002242/0.4953, allocations: 140.4 kB / 0.6074 GB, free: 39.97 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.08e-05/0.4953, allocations: 3.719 kB / 0.6074 GB, free: 39.97 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003208/0.4957, allocations: 178.9 kB / 0.6076 GB, free: 39.92 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 2.896e-06/0.4957, allocations: 0.5156 kB / 0.6076 GB, free: 39.92 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.0006961/0.4964, allocations: 396.1 kB / 0.608 GB, free: 39.86 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.4964, allocations: 80.05 kB / 0.608 GB, free: 39.76 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002861/0.4967, allocations: 352.1 kB / 0.6084 GB, free: 39.65 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.4967, allocations: 35.3 kB / 0.6084 GB, free: 39.62 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.4969, allocations: 238.1 kB / 0.6086 GB, free: 39.49 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.778e-05/0.4969, allocations: 108.9 kB / 0.6087 GB, free: 39.42 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.925e-05/0.497, allocations: 38.42 kB / 0.6088 GB, free: 39.41 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.048e-05/0.4971, allocations: 353.9 kB / 0.6091 GB, free: 39.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/0.4973, allocations: 106.7 kB / 0.6092 GB, free: 39.09 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002346/0.4975, allocations: 171.2 kB / 0.6094 GB, free: 39.02 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004192/0.498, allocations: 261.7 kB / 0.6096 GB, free: 38.96 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.498, allocations: 0 / 0.6096 GB, free: 38.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005899/0.4986, allocations: 353 kB / 0.61 GB, free: 38.89 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.4986, allocations: 5.906 kB / 0.61 GB, free: 38.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.4986, allocations: 2.781 kB / 0.61 GB, free: 38.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.4986, allocations: 3.156 kB / 0.61 GB, free: 38.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002573/0.4989, allocations: 65.34 kB / 0.61 GB, free: 38.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.4989, allocations: 6.594 kB / 0.61 GB, free: 38.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002038/0.4991, allocations: 46.88 kB / 0.6101 GB, free: 38.87 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.613e-05/0.4992, allocations: 14.84 kB / 0.6101 GB, free: 38.87 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 14 (con.greaterEqualThreshold.y,con.hys.y,$PRE.con.hys.y,con.on,con.offTimer.entryTime,$PRE.con.offTimer.entryTime,con.onTimer.entryTime,$PRE.con.onTimer.entryTime,con.offHys.entryTime,$PRE.con.offHys.entryTime,$whenCondition1,$whenCondition2,$whenCondition3,con.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * 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.0002011/0.4994, allocations: 183.2 kB / 0.6103 GB, free: 38.74 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.777e-05/0.4994, allocations: 37 kB / 0.6103 GB, free: 38.72 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.672e-05/0.4995, allocations: 44.78 kB / 0.6104 GB, free: 38.71 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.4995, allocations: 3.859 kB / 0.6104 GB, free: 38.71 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.4995, allocations: 0 / 0.6104 GB, free: 38.71 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.4996, allocations: 3.516 kB / 0.6104 GB, free: 38.71 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009878/0.5006, allocations: 0.8096 MB / 0.6112 GB, free: 38.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.5006, allocations: 3.281 kB / 0.6112 GB, free: 38.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002165/0.5008, allocations: 48.8 kB / 0.6112 GB, free: 38.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.5008, allocations: 3.062 kB / 0.6112 GB, free: 38.39 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/0.5008, allocations: 3.375 kB / 0.6112 GB, free: 38.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.5008, allocations: 10.75 kB / 0.6112 GB, free: 38.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.5008, allocations: 3.938 kB / 0.6112 GB, free: 38.38 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007155/0.5016, allocations: 0.516 MB / 0.6117 GB, free: 38.22 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.456e-05/0.5017, allocations: 137.9 kB / 0.6119 GB, free: 38.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.23e-05/0.5017, allocations: 10.88 kB / 0.6119 GB, free: 38.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/0.5019, allocations: 26.3 kB / 0.6119 GB, free: 38.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.444e-05/0.502, allocations: 26.05 kB / 0.6119 GB, free: 38.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.502, allocations: 12.27 kB / 0.6119 GB, free: 38.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001982/0.5022, allocations: 248.1 kB / 0.6122 GB, free: 38.02 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5022, allocations: 0 / 0.6122 GB, free: 38.02 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003196/0.5025, allocations: 86.94 kB / 0.6123 GB, free: 38 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.greaterEqualThreshold.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000936/0.5035, allocations: 1.072 MB / 0.6133 GB, free: 37.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005258/0.504, allocations: 269.7 kB / 0.6136 GB, free: 37.29 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.504, allocations: 0.5625 kB / 0.6136 GB, free: 37.29 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002483/0.5043, allocations: 135 kB / 0.6137 GB, free: 37.28 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005312/0.5048, allocations: 84.72 kB / 0.6138 GB, free: 37.27 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004136/0.509, allocations: 3.698 MB / 0.6174 GB, free: 35.4 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002056/0.5092, allocations: 0.8098 MB / 0.6182 GB, free: 34.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001609/0.5093, allocations: 48.95 kB / 0.6182 GB, free: 34.69 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000212/0.5096, allocations: 140.1 kB / 0.6183 GB, free: 34.68 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.5096, allocations: 0 / 0.6183 GB, free: 34.68 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01672/0.5263, allocations: 6.854 MB / 0.625 GB, free: 34.29 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001546/0.5265, allocations: 230.4 kB / 0.6253 GB, free: 34.03 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.906/2.432, allocations: 0 / 0.6253 GB, free: 34.03 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer.fmu > BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)