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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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: translateModel(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis") translateModel(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009346/0.0009344, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.007598/0.007598, allocations: 172.7 kB / 16.26 MB, free: 6.613 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.513/1.513, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.053/1.053, allocations: 143.4 MB / 434.8 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003805/0.0003805, allocations: 12 kB / 0.5166 GB, free: 10.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2185, allocations: 83.4 MB / 0.5981 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.004603/0.2232, allocations: 2.629 MB / 0.6007 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002074/0.2253, allocations: 0.8769 MB / 0.6015 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002815/0.2256, allocations: 11.94 kB / 0.6015 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002605/0.2259, allocations: 43.58 kB / 0.6016 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002048/0.2261, allocations: 75.42 kB / 0.6016 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006257/0.2268, allocations: 195.1 kB / 0.6018 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004862/0.2272, allocations: 455.2 kB / 0.6023 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003824/0.2276, allocations: 193.2 kB / 0.6024 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001977/0.2278, allocations: 139.1 kB / 0.6026 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002048/0.2281, allocations: 135.1 kB / 0.6027 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.039e-05/0.2281, allocations: 15.94 kB / 0.6027 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.272e-05/0.2281, allocations: 8 kB / 0.6027 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.56e-05/0.2282, allocations: 51.66 kB / 0.6028 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001649/0.2284, allocations: 192.6 kB / 0.603 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004566/0.2288, allocations: 486.3 kB / 0.6034 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.2289, allocations: 0 / 0.6034 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.485e-06/0.2289, allocations: 0 / 0.6034 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.2289, allocations: 0 / 0.6034 GB, free: 1.969 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.001118/0.23, allocations: 0.6429 MB / 0.604 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/0.2301, allocations: 16.03 kB / 0.6041 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.404e-05/0.2302, allocations: 48.38 kB / 0.6041 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000578/0.2308, allocations: 388.4 kB / 0.6045 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.358e-05/0.2308, allocations: 29.02 kB / 0.6045 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.956e-05/0.2309, allocations: 24.38 kB / 0.6045 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005818/0.2315, allocations: 345.4 kB / 0.6049 GB, free: 388 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.2315, allocations: 3.938 kB / 0.6049 GB, free: 384 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.653e-05/0.2315, allocations: 16 kB / 0.6049 GB, free: 368 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.2316, allocations: 8 kB / 0.6049 GB, free: 360 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004753/0.232, allocations: 218.1 kB / 0.6051 GB, free: 140 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4308/0.6628, allocations: 1.192 MB / 0.6063 GB, free: 40.18 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005476/0.6634, allocations: 239.2 kB / 0.6065 GB, free: 40.16 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/0.6636, allocations: 110.7 kB / 0.6066 GB, free: 40.15 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.251e-05/0.6636, allocations: 6.094 kB / 0.6066 GB, free: 40.15 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.6637, allocations: 37.28 kB / 0.6066 GB, free: 40.11 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=22): time 1.633e-06/0.6637, allocations: 0 / 0.6066 GB, free: 40.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22): time 0.0006209/0.6643, allocations: 296.5 kB / 0.6069 GB, free: 40.06 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/0.6644, allocations: 110.8 kB / 0.607 GB, free: 39.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003028/0.6647, allocations: 349.1 kB / 0.6074 GB, free: 39.82 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.072e-05/0.6647, allocations: 28.95 kB / 0.6074 GB, free: 39.79 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.6648, allocations: 224.8 kB / 0.6076 GB, free: 39.67 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.378e-05/0.6649, allocations: 72.53 kB / 0.6077 GB, free: 39.62 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.653e-05/0.6649, allocations: 28.36 kB / 0.6077 GB, free: 39.61 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.055e-05/0.665, allocations: 344.2 kB / 0.608 GB, free: 39.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/0.6652, allocations: 77.08 kB / 0.6081 GB, free: 39.3 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001877/0.6654, allocations: 151.1 kB / 0.6082 GB, free: 39.23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003324/0.6657, allocations: 211.3 kB / 0.6084 GB, free: 39.17 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.6657, allocations: 0 / 0.6084 GB, free: 39.17 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004533/0.6662, allocations: 285.7 kB / 0.6087 GB, free: 39.12 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.6662, allocations: 6.75 kB / 0.6087 GB, free: 39.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.6662, allocations: 6.844 kB / 0.6087 GB, free: 39.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.6662, allocations: 5.312 kB / 0.6087 GB, free: 39.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002058/0.6665, allocations: 54.91 kB / 0.6088 GB, free: 39.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.6665, allocations: 2.938 kB / 0.6088 GB, free: 39.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001869/0.6667, allocations: 47.38 kB / 0.6088 GB, free: 39.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/0.6667, allocations: 9.406 kB / 0.6088 GB, free: 39.11 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.0001389/0.6668, allocations: 156.5 kB / 0.609 GB, free: 38.99 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.295e-05/0.6669, allocations: 38.03 kB / 0.609 GB, free: 38.97 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.561e-05/0.667, allocations: 47.66 kB / 0.6091 GB, free: 38.96 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.667, allocations: 0 / 0.6091 GB, free: 38.96 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.667, allocations: 3.094 kB / 0.6091 GB, free: 38.96 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.667, allocations: 0.8906 kB / 0.6091 GB, free: 38.96 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003629/0.6674, allocations: 388.3 kB / 0.6094 GB, free: 38.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.6674, allocations: 0 / 0.6094 GB, free: 38.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002064/0.6676, allocations: 45.3 kB / 0.6095 GB, free: 38.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.6676, allocations: 7.828 kB / 0.6095 GB, free: 38.76 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.6676, allocations: 6.406 kB / 0.6095 GB, free: 38.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.6676, allocations: 3.781 kB / 0.6095 GB, free: 38.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.6677, allocations: 3.609 kB / 0.6095 GB, free: 38.76 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005846/0.6682, allocations: 431.7 kB / 0.6099 GB, free: 38.61 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.872e-05/0.6683, allocations: 135.7 kB / 0.61 GB, free: 38.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.8e-05/0.6684, allocations: 7 kB / 0.6101 GB, free: 38.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/0.6686, allocations: 22.25 kB / 0.6101 GB, free: 38.48 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.778e-05/0.6686, allocations: 20.94 kB / 0.6101 GB, free: 38.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.6687, allocations: 5.75 kB / 0.6101 GB, free: 38.48 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002252/0.6689, allocations: 242.8 kB / 0.6103 GB, free: 38.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6689, allocations: 0.8125 kB / 0.6103 GB, free: 38.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003083/0.6692, allocations: 62.91 kB / 0.6104 GB, free: 38.39 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.0001069/0.6693, allocations: 112.3 kB / 0.6105 GB, free: 38.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004219/0.6698, allocations: 202.5 kB / 0.6107 GB, free: 38.29 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.6698, allocations: 0 / 0.6107 GB, free: 38.29 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001776/0.6699, allocations: 110.9 kB / 0.6108 GB, free: 38.28 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005659/0.6705, allocations: 73.98 kB / 0.6109 GB, free: 38.28 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.6718, allocations: 0.8851 MB / 0.6117 GB, free: 37.77 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/0.672, allocations: 0.7907 MB / 0.6125 GB, free: 37.07 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001476/0.6722, allocations: 38.33 kB / 0.6125 GB, free: 37.07 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.732e-05/0.6722, allocations: 35.33 kB / 0.6126 GB, free: 37.06 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.6723, allocations: 0 / 0.6126 GB, free: 37.06 MB / 0.4981 GB Notification: Performance of Templates: time 0.006567/0.6788, allocations: 2.954 MB / 0.6155 GB, free: 36.91 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)