Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.PIDHysteresis,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_Continuous_Examples_PIDHysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.PIDHysteresis,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_Continuous_Examples_PIDHysteresis",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.503/2.503, allocations: 287.3 MB / 302.3 MB, free: 8.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00149/0.001489, allocations: 187 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.024/2.024, allocations: 205.4 MB / 0.6295 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001148/0.001148, allocations: 92.72 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000677/0.0006767, allocations: 17.08 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2295, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9952/1.225, allocations: 144.6 MB / 1.119 GB, free: 15.44 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/1.225, allocations: 75.05 kB / 1.12 GB, free: 15.44 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0273/1.252, allocations: 6.929 MB / 1.126 GB, free: 30.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.565e-06/1.252, allocations: 0 / 1.126 GB, free: 30.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.634e-05/1.253, allocations: 15.41 kB / 1.126 GB, free: 30.7 MB / 0.698 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.001419/1.254, allocations: 0.6495 MB / 1.127 GB, free: 30.21 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/1.254, allocations: 15.67 kB / 1.127 GB, free: 30.2 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001256/1.254, allocations: 64.72 kB / 1.127 GB, free: 30.16 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/1.254, allocations: 50.45 kB / 1.127 GB, free: 30.14 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007251/1.255, allocations: 382.6 kB / 1.127 GB, free: 29.89 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.699e-05/1.255, allocations: 25.17 kB / 1.127 GB, free: 29.88 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.247e-05/1.255, allocations: 32.48 kB / 1.128 GB, free: 29.88 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000941/1.256, allocations: 363.1 kB / 1.128 GB, free: 29.77 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/1.256, allocations: 0 / 1.128 GB, free: 29.77 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.963e-05/1.256, allocations: 17.66 kB / 1.128 GB, free: 29.77 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/1.256, allocations: 11.72 kB / 1.128 GB, free: 29.77 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007957/1.257, allocations: 242.2 kB / 1.128 GB, free: 29.77 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002345/1.259, allocations: 1.25 MB / 1.129 GB, free: 29.11 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/1.26, allocations: 279.3 kB / 1.13 GB, free: 29.07 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.341e-05/1.261, allocations: 8 kB / 1.13 GB, free: 29.07 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.009e-05/1.261, allocations: 34.56 kB / 1.13 GB, free: 29.03 MB / 0.698 GB Notification: Performance of pre-optimization done (n=22): time 2.515e-06/1.261, allocations: 0 / 1.13 GB, free: 29.03 MB / 0.698 GB Notification: Performance of matching and sorting (n=22): time 0.001164/1.262, allocations: 353.9 kB / 1.13 GB, free: 28.97 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.905e-05/1.262, allocations: 158.1 kB / 1.13 GB, free: 28.78 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004805/1.262, allocations: 307.4 kB / 1.13 GB, free: 28.67 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.405e-05/1.262, allocations: 36.67 kB / 1.13 GB, free: 28.64 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/1.263, allocations: 207.1 kB / 1.131 GB, free: 28.52 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.593e-05/1.263, allocations: 81.45 kB / 1.131 GB, free: 28.47 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.385e-05/1.263, allocations: 6.812 kB / 1.131 GB, free: 28.47 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001484/1.263, allocations: 344.1 kB / 1.131 GB, free: 28.16 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003242/1.263, allocations: 94.14 kB / 1.131 GB, free: 28.16 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003742/1.264, allocations: 165.1 kB / 1.131 GB, free: 28.08 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003405/1.264, allocations: 111.7 kB / 1.131 GB, free: 28.06 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/1.264, allocations: 0 / 1.131 GB, free: 28.06 MB / 0.698 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008577/1.265, allocations: 298.7 kB / 1.132 GB, free: 28 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/1.265, allocations: 7.156 kB / 1.132 GB, free: 28 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/1.265, allocations: 3.844 kB / 1.132 GB, free: 28 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/1.265, allocations: 0 / 1.132 GB, free: 28 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004408/1.265, allocations: 55.31 kB / 1.132 GB, free: 27.99 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/1.265, allocations: 7.812 kB / 1.132 GB, free: 27.99 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004103/1.266, allocations: 50.67 kB / 1.132 GB, free: 27.97 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.871e-05/1.266, allocations: 11.25 kB / 1.132 GB, free: 27.97 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (29): * Single equations (assignments): 29 * 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.0003005/1.266, allocations: 155 kB / 1.132 GB, free: 27.86 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.933e-05/1.266, allocations: 38.89 kB / 1.132 GB, free: 27.84 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001103/1.266, allocations: 43.09 kB / 1.132 GB, free: 27.83 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/1.266, allocations: 3.938 kB / 1.132 GB, free: 27.82 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/1.266, allocations: 3.953 kB / 1.132 GB, free: 27.82 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/1.266, allocations: 10.78 kB / 1.132 GB, free: 27.82 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006092/1.267, allocations: 412.4 kB / 1.132 GB, free: 27.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/1.267, allocations: 0 / 1.132 GB, free: 27.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004449/1.268, allocations: 43.59 kB / 1.133 GB, free: 27.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/1.268, allocations: 3.875 kB / 1.133 GB, free: 27.62 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.817e-05/1.268, allocations: 3.438 kB / 1.133 GB, free: 27.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/1.268, allocations: 0 / 1.133 GB, free: 27.62 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.268, allocations: 0 / 1.133 GB, free: 27.62 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/1.269, allocations: 491 kB / 1.133 GB, free: 27.46 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002017/1.269, allocations: 138.8 kB / 1.133 GB, free: 27.34 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.236e-05/1.269, allocations: 7.312 kB / 1.133 GB, free: 27.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003796/1.27, allocations: 28.2 kB / 1.133 GB, free: 27.34 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.822e-05/1.27, allocations: 16.53 kB / 1.133 GB, free: 27.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.373e-05/1.27, allocations: 11.09 kB / 1.133 GB, free: 27.34 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004031/1.27, allocations: 249.2 kB / 1.133 GB, free: 27.25 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.21e-07/1.27, allocations: 0 / 1.133 GB, free: 27.25 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005143/1.271, allocations: 80.2 kB / 1.134 GB, free: 27.23 MB / 0.698 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.001573/1.272, allocations: 1.005 MB / 1.134 GB, free: 26.54 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008006/1.273, allocations: 234.6 kB / 1.135 GB, free: 26.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/1.273, allocations: 11.75 kB / 1.135 GB, free: 26.49 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003406/1.273, allocations: 117 kB / 1.135 GB, free: 26.47 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007711/1.274, allocations: 63.86 kB / 1.135 GB, free: 26.46 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005114/1.279, allocations: 2.74 MB / 1.138 GB, free: 24.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000422/1.28, allocations: 0.8007 MB / 1.138 GB, free: 24.05 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002945/1.28, allocations: 42.17 kB / 1.138 GB, free: 24.02 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000243/1.28, allocations: 123.5 kB / 1.139 GB, free: 24 MB / 0.698 GB Notification: Performance of SimCode: time 1.373e-06/1.28, allocations: 0 / 1.139 GB, free: 24 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04097/1.321, allocations: 6.698 MB / 1.145 GB, free: 20.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003235/1.322, allocations: 185.8 kB / 1.145 GB, free: 20.66 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.266/4.587, allocations: 0 / 1.145 GB, free: 20.66 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_Continuous_Examples_PIDHysteresis_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_Continuous_Examples_PIDHysteresis.fmu > Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)