Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.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.PIDHysteresis,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis",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.001032/0.001032, 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.006524/0.006524, allocations: 169.9 kB / 16.27 MB, free: 6.66 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.366/1.366, 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.014/1.014, allocations: 143.2 MB / 434.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000387/0.000387, allocations: 12 kB / 0.5165 GB, free: 11.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.1875, allocations: 83.41 MB / 0.598 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.003301/0.1908, allocations: 2.629 MB / 0.6005 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001621/0.1925, allocations: 0.8652 MB / 0.6014 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002203/0.1927, allocations: 11.94 kB / 0.6014 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000192/0.1929, allocations: 47.58 kB / 0.6014 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001996/0.1931, allocations: 79.41 kB / 0.6015 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004931/0.1936, allocations: 201.8 kB / 0.6017 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004292/0.194, allocations: 447.3 kB / 0.6021 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003219/0.1944, allocations: 205.2 kB / 0.6023 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001676/0.1945, allocations: 131.1 kB / 0.6024 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001875/0.1947, allocations: 135.1 kB / 0.6026 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.441e-05/0.1948, allocations: 12 kB / 0.6026 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.044e-05/0.1948, allocations: 12 kB / 0.6026 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.845e-05/0.1949, allocations: 59.58 kB / 0.6027 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.195, allocations: 180.7 kB / 0.6028 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003972/0.1954, allocations: 490.3 kB / 0.6033 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1954, allocations: 0 / 0.6033 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.294e-06/0.1954, allocations: 0 / 0.6033 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.1955, allocations: 0 / 0.6033 GB, free: 2.09 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.0009315/0.1964, allocations: 0.6429 MB / 0.6039 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.1964, allocations: 8.031 kB / 0.6039 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.166e-05/0.1965, allocations: 66.72 kB / 0.604 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.446e-05/0.1966, allocations: 52.28 kB / 0.604 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005035/0.1971, allocations: 392.4 kB / 0.6044 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.718e-05/0.1971, allocations: 21.03 kB / 0.6044 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.191e-05/0.1972, allocations: 32.38 kB / 0.6045 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005861/0.1978, allocations: 345.2 kB / 0.6048 GB, free: 436 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.1978, allocations: 0 / 0.6048 GB, free: 436 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.087e-05/0.1979, allocations: 12 kB / 0.6048 GB, free: 424 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.1979, allocations: 11.94 kB / 0.6048 GB, free: 412 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004561/0.1983, allocations: 222.1 kB / 0.605 GB, free: 188 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3038/0.5021, allocations: 1.191 MB / 0.6062 GB, free: 40.5 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000543/0.5027, allocations: 241.3 kB / 0.6064 GB, free: 40.47 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000194/0.5029, allocations: 111.2 kB / 0.6065 GB, free: 40.46 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.036e-05/0.503, allocations: 3.125 kB / 0.6065 GB, free: 40.46 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.503, allocations: 41.5 kB / 0.6066 GB, free: 40.43 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=22): time 3.467e-06/0.503, allocations: 0.6562 kB / 0.6066 GB, free: 40.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22): time 0.0006059/0.5036, allocations: 303.5 kB / 0.6069 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.5037, allocations: 113.2 kB / 0.607 GB, free: 40.25 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002893/0.504, allocations: 337.7 kB / 0.6073 GB, free: 40.14 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.504, allocations: 32.3 kB / 0.6073 GB, free: 40.11 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.5041, allocations: 223.8 kB / 0.6075 GB, free: 40 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.705e-05/0.5042, allocations: 73.92 kB / 0.6076 GB, free: 39.95 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.872e-05/0.5042, allocations: 28.34 kB / 0.6076 GB, free: 39.94 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.739e-05/0.5043, allocations: 346.2 kB / 0.608 GB, free: 39.62 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.5045, allocations: 81.84 kB / 0.608 GB, free: 39.62 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001792/0.5047, allocations: 142.6 kB / 0.6082 GB, free: 39.55 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003261/0.505, allocations: 217.5 kB / 0.6084 GB, free: 39.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.505, allocations: 3.375 kB / 0.6084 GB, free: 39.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004374/0.5054, allocations: 276 kB / 0.6087 GB, free: 39.45 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.5055, allocations: 10.66 kB / 0.6087 GB, free: 39.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.5055, allocations: 3.938 kB / 0.6087 GB, free: 39.44 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.5055, allocations: 2.781 kB / 0.6087 GB, free: 39.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002002/0.5057, allocations: 57.81 kB / 0.6087 GB, free: 39.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.076e-06/0.5057, allocations: 6.469 kB / 0.6087 GB, free: 39.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/0.5059, allocations: 43.91 kB / 0.6088 GB, free: 39.42 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.968e-05/0.5059, allocations: 13.97 kB / 0.6088 GB, free: 39.42 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: 3 (con.hys.y,$PRE.con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0001334/0.5061, allocations: 156.7 kB / 0.6089 GB, free: 39.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.905e-05/0.5061, allocations: 37.61 kB / 0.609 GB, free: 39.28 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.031e-05/0.5062, allocations: 47.95 kB / 0.609 GB, free: 39.26 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.5062, allocations: 0 / 0.609 GB, free: 39.26 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.5062, allocations: 3.031 kB / 0.609 GB, free: 39.26 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.5063, allocations: 0.5625 kB / 0.609 GB, free: 39.26 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003473/0.5066, allocations: 391.8 kB / 0.6094 GB, free: 39.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.5066, allocations: 0 / 0.6094 GB, free: 39.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001961/0.5068, allocations: 40.7 kB / 0.6094 GB, free: 39.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.5068, allocations: 3.938 kB / 0.6094 GB, free: 39.07 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.5069, allocations: 9.969 kB / 0.6094 GB, free: 39.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.5069, allocations: 0.5625 kB / 0.6094 GB, free: 39.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.5069, allocations: 4 kB / 0.6095 GB, free: 39.06 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005763/0.5074, allocations: 432.8 kB / 0.6099 GB, free: 38.91 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.939e-05/0.5075, allocations: 131.8 kB / 0.61 GB, free: 38.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.761e-05/0.5076, allocations: 6.281 kB / 0.61 GB, free: 38.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.5078, allocations: 30.67 kB / 0.61 GB, free: 38.78 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.2e-05/0.5078, allocations: 15.77 kB / 0.61 GB, free: 38.78 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.5079, allocations: 12.48 kB / 0.6101 GB, free: 38.78 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001853/0.508, allocations: 237.4 kB / 0.6103 GB, free: 38.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.508, allocations: 0 / 0.6103 GB, free: 38.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002992/0.5084, allocations: 62.91 kB / 0.6103 GB, free: 38.69 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 0.0007632/0.5091, allocations: 0.9712 MB / 0.6113 GB, free: 38 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003905/0.5095, allocations: 205.9 kB / 0.6115 GB, free: 37.99 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5095, allocations: 0 / 0.6115 GB, free: 37.99 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001708/0.5097, allocations: 104.6 kB / 0.6116 GB, free: 37.98 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005477/0.5103, allocations: 83.05 kB / 0.6117 GB, free: 37.98 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003639/0.5139, allocations: 3.315 MB / 0.6149 GB, free: 36.21 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000204/0.5141, allocations: 0.8007 MB / 0.6157 GB, free: 35.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001529/0.5143, allocations: 40.89 kB / 0.6157 GB, free: 35.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000213/0.5145, allocations: 121.5 kB / 0.6158 GB, free: 35.49 MB / 0.4981 GB Notification: Performance of SimCode: time 6.72e-07/0.5145, allocations: 0 / 0.6158 GB, free: 35.49 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01629/0.5308, allocations: 6.151 MB / 0.6218 GB, free: 35.14 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000163/0.531, allocations: 227.7 kB / 0.6221 GB, free: 34.89 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.775/2.306, allocations: 0 / 0.6221 GB, free: 34.89 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis.fmu > BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)