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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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: "" <> 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.001017/0.001017, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001098/0.001098, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.003/1.003, allocations: 143.3 MB / 434.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003378/0.0003379, allocations: 12 kB / 0.5159 GB, free: 11.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1949/0.1952, allocations: 83.42 MB / 0.5974 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.003423/0.1987, allocations: 2.475 MB / 0.5998 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001743/0.2004, allocations: 0.8422 MB / 0.6006 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002433/0.2007, allocations: 11.94 kB / 0.6006 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.385e-05/0.2008, allocations: 31.66 kB / 0.6006 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004229/0.2012, allocations: 107.6 kB / 0.6008 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004362/0.2017, allocations: 163.1 kB / 0.6009 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000436/0.2021, allocations: 304 kB / 0.6012 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002798/0.2024, allocations: 149 kB / 0.6013 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001862/0.2026, allocations: 131.4 kB / 0.6015 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001667/0.2028, allocations: 127.2 kB / 0.6016 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.145e-05/0.2028, allocations: 16 kB / 0.6016 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.377e-05/0.2028, allocations: 12 kB / 0.6016 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.797e-05/0.2029, allocations: 47.7 kB / 0.6017 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.732e-05/0.203, allocations: 93.52 kB / 0.6017 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003367/0.2033, allocations: 403.1 kB / 0.6021 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.2033, allocations: 0 / 0.6021 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.794e-06/0.2033, allocations: 0 / 0.6021 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.2033, allocations: 0 / 0.6021 GB, free: 2.793 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.0009391/0.2043, allocations: 0.6467 MB / 0.6028 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.2043, allocations: 8.031 kB / 0.6028 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.101e-05/0.2044, allocations: 74.47 kB / 0.6028 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.708e-05/0.2045, allocations: 55.34 kB / 0.6029 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005261/0.205, allocations: 375.3 kB / 0.6033 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.877e-05/0.2051, allocations: 28.66 kB / 0.6033 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.257e-05/0.2051, allocations: 24 kB / 0.6033 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005373/0.2057, allocations: 333.2 kB / 0.6036 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.2057, allocations: 3.938 kB / 0.6036 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.283e-05/0.2057, allocations: 16 kB / 0.6036 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.2058, allocations: 11.94 kB / 0.6036 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004482/0.2062, allocations: 210.2 kB / 0.6038 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3641/0.5703, allocations: 1.194 MB / 0.605 GB, free: 40.25 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007415/0.5711, allocations: 231.8 kB / 0.6052 GB, free: 40.22 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.737e-05/0.5712, allocations: 6.75 kB / 0.6052 GB, free: 40.22 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.5712, allocations: 39.41 kB / 0.6053 GB, free: 40.18 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=22): time 2.715e-06/0.5712, allocations: 0 / 0.6053 GB, free: 40.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22): time 0.0007528/0.572, allocations: 297.8 kB / 0.6056 GB, free: 40.15 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.707e-05/0.572, allocations: 108.2 kB / 0.6057 GB, free: 40.02 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003696/0.5724, allocations: 339.9 kB / 0.606 GB, free: 39.92 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.411e-05/0.5725, allocations: 31.42 kB / 0.606 GB, free: 39.89 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/0.5726, allocations: 224.8 kB / 0.6062 GB, free: 39.79 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.228e-05/0.5727, allocations: 72.36 kB / 0.6063 GB, free: 39.75 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.265e-05/0.5727, allocations: 4.188 kB / 0.6063 GB, free: 39.75 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.5728, allocations: 345.4 kB / 0.6066 GB, free: 39.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/0.573, allocations: 81 kB / 0.6067 GB, free: 39.43 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001946/0.5732, allocations: 144.6 kB / 0.6069 GB, free: 39.36 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001944/0.5734, allocations: 88.98 kB / 0.6069 GB, free: 39.36 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.5734, allocations: 2.969 kB / 0.6069 GB, free: 39.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005004/0.5739, allocations: 281.3 kB / 0.6072 GB, free: 39.32 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.5739, allocations: 6.219 kB / 0.6072 GB, free: 39.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.574, allocations: 2.938 kB / 0.6072 GB, free: 39.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.574, allocations: 2.625 kB / 0.6072 GB, free: 39.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/0.5742, allocations: 53.86 kB / 0.6073 GB, free: 39.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.5742, allocations: 3.875 kB / 0.6073 GB, free: 39.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.5744, allocations: 45.34 kB / 0.6073 GB, free: 39.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.228e-05/0.5745, allocations: 9.812 kB / 0.6073 GB, free: 39.3 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 ($PRE.con.hys.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001792/0.5747, allocations: 166.5 kB / 0.6075 GB, free: 39.19 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.48e-05/0.5747, allocations: 31.81 kB / 0.6075 GB, free: 39.17 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.461e-05/0.5748, allocations: 39.56 kB / 0.6076 GB, free: 39.16 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.5748, allocations: 2.938 kB / 0.6076 GB, free: 39.16 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.5748, allocations: 3.906 kB / 0.6076 GB, free: 39.16 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.5749, allocations: 9.5 kB / 0.6076 GB, free: 39.16 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004144/0.5753, allocations: 394.7 kB / 0.6079 GB, free: 38.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.5753, allocations: 0 / 0.6079 GB, free: 38.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002143/0.5755, allocations: 42.38 kB / 0.608 GB, free: 38.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.5755, allocations: 3.844 kB / 0.608 GB, free: 38.96 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.5755, allocations: 7.25 kB / 0.608 GB, free: 38.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.5756, allocations: 0.5 kB / 0.608 GB, free: 38.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.5756, allocations: 2.844 kB / 0.608 GB, free: 38.96 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006199/0.5762, allocations: 427.8 kB / 0.6084 GB, free: 38.81 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.5763, allocations: 127.5 kB / 0.6085 GB, free: 38.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.337e-05/0.5764, allocations: 6.969 kB / 0.6085 GB, free: 38.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.5765, allocations: 24.12 kB / 0.6086 GB, free: 38.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.018e-05/0.5766, allocations: 21.55 kB / 0.6086 GB, free: 38.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.5766, allocations: 6.656 kB / 0.6086 GB, free: 38.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002053/0.5768, allocations: 237.7 kB / 0.6088 GB, free: 38.61 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5768, allocations: 0.8438 kB / 0.6088 GB, free: 38.61 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003126/0.5772, allocations: 69.81 kB / 0.6089 GB, free: 38.6 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008067/0.578, allocations: 0.9721 MB / 0.6098 GB, free: 37.92 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004035/0.5784, allocations: 200.4 kB / 0.61 GB, free: 37.92 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5784, allocations: 0 / 0.61 GB, free: 37.92 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001685/0.5786, allocations: 105.7 kB / 0.6101 GB, free: 37.92 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004443/0.579, allocations: 73.2 kB / 0.6102 GB, free: 37.92 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002948/0.582, allocations: 2.921 MB / 0.613 GB, free: 36.21 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002025/0.5822, allocations: 0.7984 MB / 0.6138 GB, free: 35.51 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000143/0.5824, allocations: 42.48 kB / 0.6139 GB, free: 35.51 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/0.5825, allocations: 123.3 kB / 0.614 GB, free: 35.5 MB / 0.4981 GB Notification: Performance of SimCode: time 5.41e-07/0.5825, allocations: 4 kB / 0.614 GB, free: 35.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01732/0.5998, allocations: 6.211 MB / 0.6201 GB, free: 35.13 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001722/0.6001, allocations: 204.5 kB / 0.6202 GB, free: 34.89 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.867/2.467, allocations: 0 / 0.6202 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/linux/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) Environment - environmentSimulation: