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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001918/0.001918, allocations: 114.5 kB / 18.94 MB, free: 2.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002082/0.002082, allocations: 220.7 kB / 22.26 MB, free: 5.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.537/1.537, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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.7.0/package.mo): time 0.9562/0.9562, allocations: 145 MB / 457.4 MB, free: 15.53 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002142/0.002142, allocations: 62.5 kB / 0.6332 GB, free: 7.328 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.1973, allocations: 87.88 MB / 0.719 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.005538/0.2028, allocations: 3.037 MB / 0.7219 GB, free: 12.39 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002272/0.2051, allocations: 0.978 MB / 0.7229 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004746/0.2056, allocations: 19.88 kB / 0.7229 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003038/0.2059, allocations: 67.27 kB / 0.723 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002901/0.2062, allocations: 95.16 kB / 0.7231 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006797/0.2069, allocations: 238.5 kB / 0.7233 GB, free: 11 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007246/0.2076, allocations: 498.9 kB / 0.7238 GB, free: 10.51 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003793/0.208, allocations: 154.2 kB / 0.7239 GB, free: 10.35 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003919/0.2084, allocations: 191.2 kB / 0.7241 GB, free: 10.16 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003151/0.2087, allocations: 179 kB / 0.7243 GB, free: 9.988 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.172e-05/0.2087, allocations: 44 kB / 0.7243 GB, free: 9.945 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.2088, allocations: 48 kB / 0.7244 GB, free: 9.898 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.36e-05/0.2089, allocations: 91.69 kB / 0.7244 GB, free: 9.809 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002441/0.2092, allocations: 202.8 kB / 0.7246 GB, free: 9.609 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007081/0.2099, allocations: 0.5446 MB / 0.7252 GB, free: 9.062 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2099, allocations: 0 / 0.7252 GB, free: 9.062 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.392e-06/0.2099, allocations: 0 / 0.7252 GB, free: 9.062 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.743e-05/0.2099, allocations: 0 / 0.7252 GB, free: 9.062 MB / 0.545 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.001332/0.2112, allocations: 0.6528 MB / 0.7258 GB, free: 8.379 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.2113, allocations: 12.03 kB / 0.7258 GB, free: 8.367 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.641e-05/0.2114, allocations: 66.72 kB / 0.7259 GB, free: 8.293 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002082/0.2116, allocations: 56.66 kB / 0.7259 GB, free: 8.238 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000701/0.2123, allocations: 350.8 kB / 0.7263 GB, free: 7.875 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.22e-05/0.2123, allocations: 21.03 kB / 0.7263 GB, free: 7.852 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.496e-05/0.2124, allocations: 32.38 kB / 0.7263 GB, free: 7.82 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006453/0.213, allocations: 337.4 kB / 0.7266 GB, free: 7.465 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.213, allocations: 4 kB / 0.7266 GB, free: 7.461 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.181e-05/0.2131, allocations: 12 kB / 0.7267 GB, free: 7.449 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/0.2131, allocations: 8 kB / 0.7267 GB, free: 7.441 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004936/0.2136, allocations: 218.5 kB / 0.7269 GB, free: 7.227 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001727/0.2153, allocations: 1.132 MB / 0.728 GB, free: 6.027 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006114/0.2159, allocations: 230.7 kB / 0.7282 GB, free: 5.793 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002364/0.2161, allocations: 108.8 kB / 0.7283 GB, free: 5.684 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.145e-05/0.2162, allocations: 0 / 0.7283 GB, free: 5.684 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/0.2162, allocations: 38.94 kB / 0.7283 GB, free: 5.637 MB / 0.545 GB Notification: Performance of pre-optimization done (n=22): time 1.152e-06/0.2162, allocations: 4 kB / 0.7283 GB, free: 5.633 MB / 0.545 GB Notification: Performance of matching and sorting (n=22): time 0.0007222/0.2169, allocations: 294.4 kB / 0.7286 GB, free: 5.34 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.535e-05/0.217, allocations: 102.8 kB / 0.7287 GB, free: 5.215 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004288/0.2175, allocations: 341.6 kB / 0.7291 GB, free: 4.871 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.671e-05/0.2175, allocations: 33.7 kB / 0.7291 GB, free: 4.832 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002074/0.2177, allocations: 232.4 kB / 0.7293 GB, free: 4.602 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.866e-05/0.2178, allocations: 79.34 kB / 0.7294 GB, free: 4.523 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/0.2179, allocations: 49.7 kB / 0.7294 GB, free: 4.469 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002034/0.2181, allocations: 346.8 kB / 0.7298 GB, free: 4.121 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.2183, allocations: 79.89 kB / 0.7298 GB, free: 4.043 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002407/0.2185, allocations: 147.7 kB / 0.73 GB, free: 3.871 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004078/0.2189, allocations: 199 kB / 0.7302 GB, free: 3.656 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.2189, allocations: 7.938 kB / 0.7302 GB, free: 3.648 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005489/0.2195, allocations: 280 kB / 0.7304 GB, free: 3.371 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.2195, allocations: 8 kB / 0.7304 GB, free: 3.363 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.2195, allocations: 4.172 kB / 0.7305 GB, free: 3.359 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.458e-05/0.2196, allocations: 8 kB / 0.7305 GB, free: 3.352 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/0.2198, allocations: 51.92 kB / 0.7305 GB, free: 3.301 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.2198, allocations: 7.984 kB / 0.7305 GB, free: 3.293 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/0.22, allocations: 35.77 kB / 0.7306 GB, free: 3.258 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.053e-05/0.22, allocations: 8 kB / 0.7306 GB, free: 3.25 MB / 0.545 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.0001801/0.2202, allocations: 161.7 kB / 0.7307 GB, free: 3.082 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.484e-05/0.2203, allocations: 39.75 kB / 0.7308 GB, free: 3.043 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.492e-05/0.2204, allocations: 43.45 kB / 0.7308 GB, free: 3 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.2204, allocations: 4 kB / 0.7308 GB, free: 2.996 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.2204, allocations: 0 / 0.7308 GB, free: 2.996 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.2204, allocations: 3.984 kB / 0.7308 GB, free: 2.992 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005031/0.2209, allocations: 368.3 kB / 0.7312 GB, free: 2.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.2209, allocations: 0 / 0.7312 GB, free: 2.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002288/0.2211, allocations: 43.92 kB / 0.7312 GB, free: 2.547 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.2211, allocations: 0 / 0.7312 GB, free: 2.547 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.152e-05/0.2211, allocations: 4 kB / 0.7312 GB, free: 2.543 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.2211, allocations: 3.984 kB / 0.7312 GB, free: 2.539 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2211, allocations: 4 kB / 0.7312 GB, free: 2.535 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007313/0.2219, allocations: 426.9 kB / 0.7316 GB, free: 2.105 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.222, allocations: 59.7 kB / 0.7317 GB, free: 2.047 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.953e-05/0.222, allocations: 3.938 kB / 0.7317 GB, free: 2.043 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/0.2222, allocations: 24.05 kB / 0.7317 GB, free: 2.02 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.932e-05/0.2223, allocations: 23.95 kB / 0.7317 GB, free: 1.996 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.2223, allocations: 4 kB / 0.7317 GB, free: 1.992 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002735/0.2226, allocations: 247.1 kB / 0.732 GB, free: 1.754 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2226, allocations: 3.938 kB / 0.732 GB, free: 1.75 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003457/0.2229, allocations: 63.89 kB / 0.732 GB, free: 1.688 MB / 0.545 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.001089/0.224, allocations: 0.9602 MB / 0.733 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004746/0.2245, allocations: 183.8 kB / 0.7331 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/0.2245, allocations: 4.438 kB / 0.7331 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002205/0.2247, allocations: 106.8 kB / 0.7332 GB, free: 428 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005425/0.2252, allocations: 76 kB / 0.7333 GB, free: 360 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00473/0.23, allocations: 3.134 MB / 0.7364 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004821/0.2305, allocations: 0.7912 MB / 0.7371 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001763/0.2306, allocations: 34.95 kB / 0.7372 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002026/0.2308, allocations: 127.4 kB / 0.7373 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of SimCode: time 1.062e-06/0.2308, allocations: 4 kB / 0.7373 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04422/0.2751, allocations: 6.961 MB / 0.7441 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.09, allocations: 4.062 kB / 0.7441 GB, free: 5.324 MB / 0.5606 GB " [Timeout remaining time 648] (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/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.23508129711263] Failed to read output from testmodel.py, exit status != 0: 12.20282920007594 12.494378262 12.281471415 Calling exit ...