Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001795/0.001795, allocations: 114.8 kB / 17.13 MB, free: 5.754 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002145/0.002145, allocations: 191.7 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.719/1.719, allocations: 225.6 MB / 248.5 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8832/0.8832, allocations: 129.2 MB / 432.5 MB, free: 13.02 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,fileNamePrefix="IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,fileNamePrefix="IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 71.89 kB / 0.5987 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4882/0.4902, allocations: 83.45 MB / 0.6802 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.003993/0.4942, allocations: 2.985 MB / 0.6831 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001818/0.496, allocations: 0.9187 MB / 0.684 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002917/0.4963, allocations: 12.88 kB / 0.684 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002412/0.4965, allocations: 75.03 kB / 0.684 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001729/0.4967, allocations: 94.14 kB / 0.6841 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004805/0.4972, allocations: 214.1 kB / 0.6843 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004543/0.4976, allocations: 0.4899 MB / 0.6848 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002702/0.4979, allocations: 153.5 kB / 0.685 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001936/0.4981, allocations: 177.6 kB / 0.6851 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001716/0.4983, allocations: 181.6 kB / 0.6853 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.793e-05/0.4983, allocations: 43.53 kB / 0.6854 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.262e-05/0.4984, allocations: 42.62 kB / 0.6854 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.965e-05/0.4985, allocations: 94.72 kB / 0.6855 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001263/0.4986, allocations: 201.5 kB / 0.6857 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004893/0.4991, allocations: 0.5111 MB / 0.6862 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.4991, allocations: 0 / 0.6862 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4991, allocations: 1.188 kB / 0.6862 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.814e-06/0.4991, allocations: 4 kB / 0.6862 GB, free: 1.262 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.0009589/0.5, allocations: 0.7202 MB / 0.6869 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.5001, allocations: 9.469 kB / 0.6869 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.271e-05/0.5002, allocations: 73.47 kB / 0.687 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.677e-05/0.5002, allocations: 51.56 kB / 0.687 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005789/0.5008, allocations: 398.9 kB / 0.6874 GB, free: 168 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.158e-05/0.5008, allocations: 25.31 kB / 0.6874 GB, free: 156 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.631e-05/0.5009, allocations: 31.25 kB / 0.6874 GB, free: 144 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006167/0.5015, allocations: 342.9 kB / 0.6878 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.563e-05/0.5015, allocations: 9.031 kB / 0.6878 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.423e-05/0.5016, allocations: 11 kB / 0.6878 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.5016, allocations: 7.281 kB / 0.6878 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005162/0.5021, allocations: 216.9 kB / 0.688 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001828/0.5039, allocations: 1.176 MB / 0.6892 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006214/0.5045, allocations: 227.8 kB / 0.6894 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002391/0.5048, allocations: 108 kB / 0.6895 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.305e-05/0.5048, allocations: 2.125 kB / 0.6895 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.803e-05/0.5049, allocations: 37.23 kB / 0.6895 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=22): time 1.703e-06/0.5049, allocations: 0 / 0.6895 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of matching and sorting (n=22): time 0.0007584/0.5056, allocations: 302.7 kB / 0.6898 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.5057, allocations: 105 kB / 0.6899 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004534/0.5062, allocations: 336 kB / 0.6902 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.254e-05/0.5062, allocations: 30.98 kB / 0.6903 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002/0.5064, allocations: 222.7 kB / 0.6905 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.918e-05/0.5065, allocations: 88.34 kB / 0.6905 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.5066, allocations: 56.72 kB / 0.6906 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001939/0.5068, allocations: 341.9 kB / 0.6909 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001811/0.507, allocations: 79.47 kB / 0.691 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002381/0.5072, allocations: 140.2 kB / 0.6911 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004073/0.5076, allocations: 213.4 kB / 0.6913 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.758e-06/0.5076, allocations: 3.938 kB / 0.6913 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005395/0.5082, allocations: 285 kB / 0.6916 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.5082, allocations: 5.219 kB / 0.6916 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.5082, allocations: 2.281 kB / 0.6916 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.5082, allocations: 3.469 kB / 0.6916 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002371/0.5084, allocations: 52.84 kB / 0.6917 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.5085, allocations: 6.891 kB / 0.6917 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001941/0.5086, allocations: 36.14 kB / 0.6917 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/0.5087, allocations: 10.94 kB / 0.6917 GB, free: 12.81 MB / 0.5137 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.000184/0.5089, allocations: 162.1 kB / 0.6919 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.73e-05/0.5089, allocations: 39.97 kB / 0.6919 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.45e-05/0.509, allocations: 40.67 kB / 0.692 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.509, allocations: 2.312 kB / 0.692 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/0.509, allocations: 0 / 0.692 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.509, allocations: 1.188 kB / 0.692 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004989/0.5095, allocations: 403.1 kB / 0.6923 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.5095, allocations: 3.938 kB / 0.6924 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002314/0.5098, allocations: 43.91 kB / 0.6924 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.5098, allocations: 1.469 kB / 0.6924 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.5098, allocations: 5.406 kB / 0.6924 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.5098, allocations: 1.125 kB / 0.6924 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.5098, allocations: 0 / 0.6924 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008016/0.5106, allocations: 435.3 kB / 0.6928 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001662/0.5108, allocations: 128.1 kB / 0.6929 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.561e-05/0.5108, allocations: 6.312 kB / 0.6929 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.511, allocations: 11.45 kB / 0.693 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.795e-05/0.511, allocations: 20.84 kB / 0.693 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.5111, allocations: 12.41 kB / 0.693 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003004/0.5114, allocations: 237.8 kB / 0.6932 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.5114, allocations: 4 kB / 0.6932 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003603/0.5117, allocations: 70.66 kB / 0.6933 GB, free: 11.6 MB / 0.5137 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.001053/0.5128, allocations: 0.9648 MB / 0.6942 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000486/0.5133, allocations: 189.1 kB / 0.6944 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.5133, allocations: 0 / 0.6944 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002065/0.5135, allocations: 93.5 kB / 0.6945 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005616/0.514, allocations: 79.78 kB / 0.6946 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005309/0.5193, allocations: 3.122 MB / 0.6976 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005064/0.5199, allocations: 0.7938 MB / 0.6984 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002019/0.5201, allocations: 41.08 kB / 0.6984 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002098/0.5203, allocations: 126.2 kB / 0.6986 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of SimCode: time 1.242e-06/0.5203, allocations: 0 / 0.6986 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03833/0.5586, allocations: 6.683 MB / 0.7051 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.418/8.977, allocations: 8.047 kB / 0.7051 GB, free: 4.012 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis.fmu > IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.794451080262661] Failed to read output from testmodel.py, exit status != 0: 9.053447497077286 9.079575412 8.575713462 Calling exit ...