Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.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/IBPSA 4.0.0-master/package.mo", uses=false) 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.PIDHysteresisTimer,fileNamePrefix="IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer",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.00126/0.00126, allocations: 103.1 kB / 16.4 MB, free: 6.414 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.001263/0.001263, allocations: 192 kB / 17.34 MB, free: 5.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8174/0.8174, allocations: 115.3 MB / 406.5 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 64.77 kB / 0.5572 GB, free: 32.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1906/0.1919, allocations: 76.19 MB / 0.6316 GB, free: 4.922 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.006027/0.1979, allocations: 3.115 MB / 0.6346 GB, free: 1.781 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002443/0.2004, allocations: 0.9662 MB / 0.6356 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004078/0.2008, allocations: 15.88 kB / 0.6356 GB, free: 0.793 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003414/0.2012, allocations: 71.25 kB / 0.6356 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003146/0.2016, allocations: 103.1 kB / 0.6357 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007926/0.2024, allocations: 242.2 kB / 0.636 GB, free: 396 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008172/0.2032, allocations: 0.5505 MB / 0.6365 GB, free: 15.83 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005879/0.2038, allocations: 255.4 kB / 0.6367 GB, free: 15.58 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004031/0.2042, allocations: 211.1 kB / 0.6369 GB, free: 15.37 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003113/0.2046, allocations: 206.9 kB / 0.6371 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001031/0.2047, allocations: 52 kB / 0.6372 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.826e-05/0.2048, allocations: 52 kB / 0.6372 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.2049, allocations: 111.6 kB / 0.6373 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002884/0.2052, allocations: 242.7 kB / 0.6376 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008753/0.2061, allocations: 0.5835 MB / 0.6381 GB, free: 14.14 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.2061, allocations: 4 kB / 0.6382 GB, free: 14.13 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2061, allocations: 0 / 0.6382 GB, free: 14.13 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.2061, allocations: 0 / 0.6382 GB, free: 14.13 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001596/0.2078, allocations: 0.7776 MB / 0.6389 GB, free: 13.3 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.891e-05/0.2078, allocations: 8.031 kB / 0.6389 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001026/0.2079, allocations: 74.72 kB / 0.639 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001173/0.2081, allocations: 56.28 kB / 0.639 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009142/0.209, allocations: 412.7 kB / 0.6394 GB, free: 12.72 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4e-05/0.209, allocations: 29.38 kB / 0.6395 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.608e-05/0.2091, allocations: 44.36 kB / 0.6395 GB, free: 12.65 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008059/0.2099, allocations: 393.7 kB / 0.6399 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.21, allocations: 0 / 0.6399 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.412e-05/0.21, allocations: 16 kB / 0.6399 GB, free: 12.22 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.21, allocations: 19.94 kB / 0.6399 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005225/0.2106, allocations: 267.8 kB / 0.6402 GB, free: 11.94 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001737/0.2123, allocations: 1.301 MB / 0.6414 GB, free: 10.56 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006898/0.213, allocations: 319.6 kB / 0.6417 GB, free: 10.24 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000248/0.2133, allocations: 136.8 kB / 0.6419 GB, free: 10.1 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.241e-05/0.2133, allocations: 4 kB / 0.6419 GB, free: 10.1 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003533/0.2137, allocations: 181.5 kB / 0.6421 GB, free: 9.906 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 1.803e-06/0.2137, allocations: 0 / 0.6421 GB, free: 9.906 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.000815/0.2145, allocations: 378.7 kB / 0.6424 GB, free: 9.531 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.164e-05/0.2146, allocations: 85.05 kB / 0.6425 GB, free: 9.43 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003577/0.2149, allocations: 345.6 kB / 0.6428 GB, free: 9.09 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.594e-05/0.215, allocations: 45.69 kB / 0.6429 GB, free: 9.039 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/0.2152, allocations: 232.8 kB / 0.6431 GB, free: 8.809 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.2153, allocations: 102.5 kB / 0.6432 GB, free: 8.707 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.2154, allocations: 70.06 kB / 0.6433 GB, free: 8.629 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001955/0.2156, allocations: 346.8 kB / 0.6436 GB, free: 8.281 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000239/0.2158, allocations: 100.7 kB / 0.6437 GB, free: 8.184 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002609/0.2161, allocations: 176.4 kB / 0.6439 GB, free: 7.984 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004964/0.2166, allocations: 255.8 kB / 0.6441 GB, free: 7.715 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.2166, allocations: 3.938 kB / 0.6441 GB, free: 7.711 MB / 494.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006021/0.2172, allocations: 350.7 kB / 0.6444 GB, free: 7.363 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.2173, allocations: 9.594 kB / 0.6444 GB, free: 7.355 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.2173, allocations: 4 kB / 0.6444 GB, free: 7.352 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.463e-05/0.2173, allocations: 11.97 kB / 0.6445 GB, free: 7.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002705/0.2176, allocations: 59.91 kB / 0.6445 GB, free: 7.281 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.2176, allocations: 7.938 kB / 0.6445 GB, free: 7.273 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002068/0.2178, allocations: 39.67 kB / 0.6446 GB, free: 7.234 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.405e-05/0.2179, allocations: 8 kB / 0.6446 GB, free: 7.227 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 14 (con.greaterEqualThreshold.y,con.hys.y,$PRE.con.hys.y,con.on,con.offTimer.entryTime,$PRE.con.offTimer.entryTime,con.onTimer.entryTime,$PRE.con.onTimer.entryTime,con.offHys.entryTime,$PRE.con.offHys.entryTime,$whenCondition1,$whenCondition2,$whenCondition3,con.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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.0001954/0.2181, allocations: 178.3 kB / 0.6447 GB, free: 7.043 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.807e-05/0.2181, allocations: 39.53 kB / 0.6448 GB, free: 7.004 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.843e-05/0.2182, allocations: 40.25 kB / 0.6448 GB, free: 6.957 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.2182, allocations: 7.984 kB / 0.6448 GB, free: 6.949 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.2182, allocations: 0 / 0.6448 GB, free: 6.949 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.2183, allocations: 0 / 0.6448 GB, free: 6.949 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001103/0.2194, allocations: 0.8158 MB / 0.6456 GB, free: 6.078 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.2194, allocations: 8 kB / 0.6456 GB, free: 6.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002388/0.2196, allocations: 43.92 kB / 0.6457 GB, free: 6.027 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.2196, allocations: 0 / 0.6457 GB, free: 6.027 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/0.2197, allocations: 7.984 kB / 0.6457 GB, free: 6.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.2197, allocations: 4 kB / 0.6457 GB, free: 6.016 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2197, allocations: 3.938 kB / 0.6457 GB, free: 6.012 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008517/0.2205, allocations: 0.5122 MB / 0.6462 GB, free: 5.484 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/0.2207, allocations: 140.5 kB / 0.6463 GB, free: 5.328 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.504e-05/0.2207, allocations: 8 kB / 0.6463 GB, free: 5.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/0.2209, allocations: 19.98 kB / 0.6463 GB, free: 5.301 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.828e-05/0.221, allocations: 27.95 kB / 0.6464 GB, free: 5.273 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.221, allocations: 8 kB / 0.6464 GB, free: 5.266 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002581/0.2213, allocations: 251.1 kB / 0.6466 GB, free: 5.023 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2213, allocations: 0 / 0.6466 GB, free: 5.023 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003813/0.2217, allocations: 87.75 kB / 0.6467 GB, free: 4.938 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.greaterEqualThreshold.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001109/0.2228, allocations: 1.064 MB / 0.6477 GB, free: 3.848 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005474/0.2234, allocations: 264.2 kB / 0.648 GB, free: 3.59 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2234, allocations: 0 / 0.648 GB, free: 3.59 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002415/0.2236, allocations: 131.8 kB / 0.6481 GB, free: 3.461 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005078/0.2242, allocations: 79.78 kB / 0.6482 GB, free: 3.383 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00488/0.229, allocations: 3.462 MB / 0.6516 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000428/0.2295, allocations: 0.8113 MB / 0.6524 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001985/0.2297, allocations: 43.25 kB / 0.6524 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001988/0.2299, allocations: 143.4 kB / 0.6525 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of SimCode: time 9.01e-07/0.2299, allocations: 3.938 kB / 0.6526 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02624/0.2562, allocations: 7.418 MB / 0.6598 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.98/8.236, allocations: 11.05 kB / 0.6598 GB, free: 7.504 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer.fmu > IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)