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.0008238/0.0008238, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.000868/0.000868, allocations: 168.7 kB / 15.95 MB, free: 204 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.391/1.391, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.079/1.079, allocations: 143.4 MB / 434.4 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003143/0.0003143, allocations: 8 kB / 0.5161 GB, free: 11.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1785, allocations: 83.42 MB / 0.5975 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.003101/0.1816, allocations: 2.518 MB / 0.6 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001461/0.1831, allocations: 0.846 MB / 0.6008 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002015/0.1833, allocations: 11.94 kB / 0.6008 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001873/0.1835, allocations: 43.58 kB / 0.6009 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001542/0.1837, allocations: 67.41 kB / 0.6009 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004407/0.1841, allocations: 155.8 kB / 0.6011 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004111/0.1845, allocations: 427.3 kB / 0.6015 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002674/0.1848, allocations: 149 kB / 0.6016 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001618/0.185, allocations: 119.3 kB / 0.6018 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000169/0.1852, allocations: 139.1 kB / 0.6019 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.384e-05/0.1852, allocations: 12 kB / 0.6019 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.28e-05/0.1852, allocations: 15.94 kB / 0.6019 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.024e-05/0.1853, allocations: 43.72 kB / 0.602 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.653e-05/0.1854, allocations: 93.45 kB / 0.602 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003395/0.1857, allocations: 407.2 kB / 0.6024 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.1857, allocations: 0 / 0.6024 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.793e-06/0.1857, allocations: 0 / 0.6024 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.1857, allocations: 4 kB / 0.6024 GB, free: 2.633 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.0009477/0.1867, allocations: 0.6505 MB / 0.6031 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.1867, allocations: 8.031 kB / 0.6031 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.442e-05/0.1868, allocations: 62.53 kB / 0.6031 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.231e-05/0.1869, allocations: 51.34 kB / 0.6032 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005126/0.1874, allocations: 379.4 kB / 0.6036 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.1875, allocations: 20.66 kB / 0.6036 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.685e-05/0.1875, allocations: 32 kB / 0.6036 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005296/0.1881, allocations: 337.1 kB / 0.6039 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.1881, allocations: 0 / 0.6039 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.761e-05/0.1881, allocations: 12 kB / 0.6039 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.1881, allocations: 8 kB / 0.6039 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004285/0.1886, allocations: 218.1 kB / 0.6042 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3344/0.5229, allocations: 1.191 MB / 0.6053 GB, free: 40.15 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006201/0.5236, allocations: 242.5 kB / 0.6055 GB, free: 40.12 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001987/0.5238, allocations: 112.2 kB / 0.6057 GB, free: 40.12 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.921e-05/0.5238, allocations: 6.5 kB / 0.6057 GB, free: 40.12 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.5239, allocations: 35.77 kB / 0.6057 GB, free: 40.08 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=22): time 2.836e-06/0.5239, allocations: 0 / 0.6057 GB, free: 40.08 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22): time 0.0006607/0.5246, allocations: 303.4 kB / 0.606 GB, free: 40.04 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.5246, allocations: 106.6 kB / 0.6061 GB, free: 39.92 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002886/0.5249, allocations: 334.7 kB / 0.6064 GB, free: 39.81 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.5249, allocations: 33.95 kB / 0.6064 GB, free: 39.78 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.5251, allocations: 223 kB / 0.6066 GB, free: 39.68 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.873e-05/0.5251, allocations: 77.03 kB / 0.6067 GB, free: 39.64 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.354e-05/0.5251, allocations: 7.594 kB / 0.6067 GB, free: 39.64 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.186e-05/0.5252, allocations: 345.4 kB / 0.6071 GB, free: 39.33 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000157/0.5254, allocations: 79.48 kB / 0.6071 GB, free: 39.33 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001826/0.5256, allocations: 142.8 kB / 0.6073 GB, free: 39.26 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/0.5258, allocations: 93.72 kB / 0.6074 GB, free: 39.26 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.5258, allocations: 3.188 kB / 0.6074 GB, free: 39.26 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000443/0.5262, allocations: 274.6 kB / 0.6076 GB, free: 39.21 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.5263, allocations: 7.344 kB / 0.6076 GB, free: 39.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.5263, allocations: 3.625 kB / 0.6076 GB, free: 39.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.5263, allocations: 6.391 kB / 0.6076 GB, free: 39.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002072/0.5265, allocations: 53.92 kB / 0.6077 GB, free: 39.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.5265, allocations: 6.594 kB / 0.6077 GB, free: 39.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001952/0.5267, allocations: 39.7 kB / 0.6077 GB, free: 39.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.176e-05/0.5268, allocations: 22.38 kB / 0.6078 GB, free: 39.2 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.0001504/0.5269, allocations: 156.5 kB / 0.6079 GB, free: 39.08 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.945e-05/0.527, allocations: 29.88 kB / 0.6079 GB, free: 39.07 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.371e-05/0.5271, allocations: 38.98 kB / 0.608 GB, free: 39.05 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.5271, allocations: 2.875 kB / 0.608 GB, free: 39.05 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.5271, allocations: 3.422 kB / 0.608 GB, free: 39.05 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.5271, allocations: 2.969 kB / 0.608 GB, free: 39.05 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003892/0.5275, allocations: 400.3 kB / 0.6084 GB, free: 38.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.5275, allocations: 0.875 kB / 0.6084 GB, free: 38.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002069/0.5277, allocations: 44.59 kB / 0.6084 GB, free: 38.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.5277, allocations: 3.75 kB / 0.6084 GB, free: 38.86 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.06e-05/0.5278, allocations: 6.469 kB / 0.6084 GB, free: 38.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.5278, allocations: 1.203 kB / 0.6084 GB, free: 38.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.5278, allocations: 3.094 kB / 0.6084 GB, free: 38.86 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005761/0.5284, allocations: 427.4 kB / 0.6088 GB, free: 38.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.587e-05/0.5285, allocations: 130.8 kB / 0.609 GB, free: 38.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.122e-05/0.5285, allocations: 6.281 kB / 0.609 GB, free: 38.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.5287, allocations: 21.17 kB / 0.609 GB, free: 38.59 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.916e-05/0.5288, allocations: 22.81 kB / 0.609 GB, free: 38.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.5288, allocations: 2.656 kB / 0.609 GB, free: 38.59 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001974/0.529, allocations: 240.1 kB / 0.6092 GB, free: 38.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.529, allocations: 0 / 0.6092 GB, free: 38.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003101/0.5293, allocations: 71.81 kB / 0.6093 GB, free: 38.49 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.0007394/0.53, allocations: 0.9664 MB / 0.6102 GB, free: 37.81 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004041/0.5305, allocations: 212.3 kB / 0.6104 GB, free: 37.81 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.5305, allocations: 0 / 0.6104 GB, free: 37.81 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001845/0.5307, allocations: 101 kB / 0.6105 GB, free: 37.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005237/0.5312, allocations: 77.31 kB / 0.6106 GB, free: 37.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002881/0.5341, allocations: 2.03 MB / 0.6126 GB, free: 36.98 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001954/0.5343, allocations: 0.7954 MB / 0.6134 GB, free: 36.28 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001612/0.5345, allocations: 39.73 kB / 0.6134 GB, free: 36.28 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/0.5346, allocations: 122.6 kB / 0.6135 GB, free: 36.27 MB / 0.4981 GB Notification: Performance of SimCode: time 6.81e-07/0.5347, allocations: 0 / 0.6135 GB, free: 36.27 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01865/0.5533, allocations: 6.236 MB / 0.6196 GB, free: 35.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001663/0.5535, allocations: 203.6 kB / 0.6198 GB, free: 35.67 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.869/2.422, allocations: 0 / 0.6198 GB, free: 35.67 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: