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.001094/0.001094, allocations: 108 kB / 15.6 MB, free: 132 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.001126/0.001126, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.483/1.483, allocations: 222.9 MB / 240.2 MB, free: 4.422 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.033/1.033, allocations: 143 MB / 433.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001304, allocations: 59.91 kB / 0.5143 GB, free: 11.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1916, allocations: 82.04 MB / 0.5944 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.005399/0.1971, allocations: 3.123 MB / 0.5974 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002647/0.1998, allocations: 0.9662 MB / 0.5984 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008517/0.2006, allocations: 19.94 kB / 0.5984 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005099/0.2012, allocations: 67.25 kB / 0.5985 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007225/0.202, allocations: 87.12 kB / 0.5986 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.2033, allocations: 250.8 kB / 0.5988 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001324/0.2046, allocations: 0.5427 MB / 0.5993 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008877/0.2055, allocations: 255.5 kB / 0.5996 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006334/0.2061, allocations: 199.1 kB / 0.5998 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006012/0.2068, allocations: 210.9 kB / 0.6 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002037/0.207, allocations: 52 kB / 0.6 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001596/0.2072, allocations: 52 kB / 0.6001 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001403/0.2073, allocations: 111.6 kB / 0.6002 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003036/0.2076, allocations: 238.7 kB / 0.6004 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007683/0.2084, allocations: 0.592 MB / 0.601 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.2084, allocations: 0 / 0.601 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2084, allocations: 0 / 0.601 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.172e-05/0.2084, allocations: 3.938 kB / 0.601 GB, free: 2.711 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.00174/0.2102, allocations: 0.766 MB / 0.6017 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.317e-05/0.2103, allocations: 12.03 kB / 0.6017 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001322/0.2104, allocations: 74.7 kB / 0.6018 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001352/0.2105, allocations: 52.28 kB / 0.6019 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007481/0.2113, allocations: 416.5 kB / 0.6022 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.875e-05/0.2114, allocations: 29.38 kB / 0.6023 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-05/0.2114, allocations: 40.38 kB / 0.6023 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008293/0.2123, allocations: 401.7 kB / 0.6027 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.2123, allocations: 0 / 0.6027 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.285e-05/0.2124, allocations: 16 kB / 0.6027 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/0.2124, allocations: 11.98 kB / 0.6027 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006306/0.213, allocations: 267.8 kB / 0.603 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2908/0.5038, allocations: 1.31 MB / 0.6043 GB, free: 43.45 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006074/0.5045, allocations: 306.4 kB / 0.6046 GB, free: 43.43 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002313/0.5047, allocations: 138.8 kB / 0.6047 GB, free: 43.42 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.111e-05/0.5047, allocations: 8.375 kB / 0.6047 GB, free: 43.42 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003823/0.5051, allocations: 178 kB / 0.6049 GB, free: 43.37 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 3.106e-06/0.5051, allocations: 3.594 kB / 0.6049 GB, free: 43.37 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.0007411/0.5059, allocations: 389.1 kB / 0.6052 GB, free: 43.32 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.5059, allocations: 82.02 kB / 0.6053 GB, free: 43.23 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003054/0.5063, allocations: 350.9 kB / 0.6056 GB, free: 43.12 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.5063, allocations: 33.77 kB / 0.6057 GB, free: 43.09 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.5064, allocations: 231.6 kB / 0.6059 GB, free: 42.98 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.915e-05/0.5065, allocations: 108.8 kB / 0.606 GB, free: 42.93 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.188e-05/0.5066, allocations: 71.95 kB / 0.6061 GB, free: 42.91 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.946e-05/0.5067, allocations: 349 kB / 0.6064 GB, free: 42.59 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001943/0.5069, allocations: 102.7 kB / 0.6065 GB, free: 42.59 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/0.5071, allocations: 169.5 kB / 0.6067 GB, free: 42.53 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004203/0.5075, allocations: 257.8 kB / 0.6069 GB, free: 42.47 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.5075, allocations: 0 / 0.6069 GB, free: 42.47 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005251/0.508, allocations: 357 kB / 0.6073 GB, free: 42.41 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.5081, allocations: 5.844 kB / 0.6073 GB, free: 42.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.5081, allocations: 0.625 kB / 0.6073 GB, free: 42.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.5081, allocations: 2.906 kB / 0.6073 GB, free: 42.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002457/0.5084, allocations: 67.31 kB / 0.6073 GB, free: 42.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.5084, allocations: 3.375 kB / 0.6073 GB, free: 42.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001789/0.5086, allocations: 43.94 kB / 0.6074 GB, free: 42.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/0.5086, allocations: 12.06 kB / 0.6074 GB, free: 42.39 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.0001586/0.5088, allocations: 170.8 kB / 0.6075 GB, free: 42.28 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.391e-05/0.5088, allocations: 45.8 kB / 0.6076 GB, free: 42.25 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.136e-05/0.5089, allocations: 44.2 kB / 0.6076 GB, free: 42.25 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.5089, allocations: 7.656 kB / 0.6076 GB, free: 42.25 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.679e-06/0.5089, allocations: 0 / 0.6076 GB, free: 42.25 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.5089, allocations: 7.766 kB / 0.6076 GB, free: 42.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008857/0.5098, allocations: 0.8028 MB / 0.6084 GB, free: 41.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.5098, allocations: 0 / 0.6084 GB, free: 41.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002231/0.5101, allocations: 51.66 kB / 0.6085 GB, free: 41.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.5101, allocations: 4.969 kB / 0.6085 GB, free: 41.93 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/0.5101, allocations: 10.41 kB / 0.6085 GB, free: 41.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.5101, allocations: 0 / 0.6085 GB, free: 41.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.5101, allocations: 0.6094 kB / 0.6085 GB, free: 41.93 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006989/0.5108, allocations: 0.517 MB / 0.609 GB, free: 41.77 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.993e-05/0.5109, allocations: 138.5 kB / 0.6091 GB, free: 41.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.579e-05/0.511, allocations: 11.56 kB / 0.6091 GB, free: 41.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.5112, allocations: 18.41 kB / 0.6092 GB, free: 41.64 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.248e-05/0.5112, allocations: 25.73 kB / 0.6092 GB, free: 41.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.5113, allocations: 9.844 kB / 0.6092 GB, free: 41.64 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001907/0.5115, allocations: 244 kB / 0.6094 GB, free: 41.51 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.5115, allocations: 288 / 0.6094 GB, free: 41.51 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000329/0.5118, allocations: 87.62 kB / 0.6095 GB, free: 41.48 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.0008712/0.5127, allocations: 1.068 MB / 0.6106 GB, free: 40.67 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005503/0.5132, allocations: 283.4 kB / 0.6108 GB, free: 40.58 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.5133, allocations: 2.812 kB / 0.6108 GB, free: 40.58 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002151/0.5135, allocations: 135.3 kB / 0.611 GB, free: 40.54 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005002/0.514, allocations: 88.64 kB / 0.611 GB, free: 40.52 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003731/0.5177, allocations: 3.487 MB / 0.6144 GB, free: 38.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002083/0.518, allocations: 0.8145 MB / 0.6152 GB, free: 37.63 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000179/0.5181, allocations: 48.23 kB / 0.6153 GB, free: 37.62 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001693/0.5183, allocations: 140.1 kB / 0.6154 GB, free: 37.52 MB / 0.4981 GB Notification: Performance of SimCode: time 4e-07/0.5183, allocations: 0 / 0.6154 GB, free: 37.52 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6544/1.173, allocations: 7.33 MB / 0.6226 GB, free: 36.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.606/8.779, allocations: 17.23 kB / 0.6226 GB, free: 36.9 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)