Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.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: translateModel(IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset") translateModel(IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 107.3 kB / 16.4 MB, free: 6.504 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.00211/0.00211, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.451/1.451, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7548/0.7548, allocations: 115.3 MB / 406.5 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 65.34 kB / 0.5576 GB, free: 32.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.1841, allocations: 76.18 MB / 0.632 GB, free: 4.453 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.005437/0.1896, allocations: 4.099 MB / 0.636 GB, free: 332 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002908/0.1925, allocations: 1.325 MB / 0.6373 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000662/0.1932, allocations: 23.88 kB / 0.6374 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004055/0.1936, allocations: 126.7 kB / 0.6375 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004159/0.1941, allocations: 182.4 kB / 0.6377 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.1951, allocations: 423 kB / 0.6381 GB, free: 14.26 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009063/0.196, allocations: 0.9631 MB / 0.639 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006483/0.1967, allocations: 458.1 kB / 0.6394 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003782/0.1971, allocations: 330.8 kB / 0.6397 GB, free: 12.5 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003187/0.1974, allocations: 338.3 kB / 0.6401 GB, free: 12.16 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000108/0.1975, allocations: 92 kB / 0.6402 GB, free: 12.07 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.1976, allocations: 88 kB / 0.6402 GB, free: 11.99 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001464/0.1978, allocations: 175.4 kB / 0.6404 GB, free: 11.82 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003339/0.1981, allocations: 398 kB / 0.6408 GB, free: 11.43 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009611/0.1991, allocations: 1.067 MB / 0.6418 GB, free: 10.36 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1991, allocations: 0 / 0.6418 GB, free: 10.36 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1991, allocations: 0 / 0.6418 GB, free: 10.36 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.1991, allocations: 4 kB / 0.6418 GB, free: 10.35 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001874/0.201, allocations: 1.069 MB / 0.6429 GB, free: 9.223 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.2011, allocations: 8.031 kB / 0.6429 GB, free: 9.215 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000162/0.2012, allocations: 88 kB / 0.643 GB, free: 9.129 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009471/0.2022, allocations: 0.565 MB / 0.6435 GB, free: 8.523 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.089e-05/0.2022, allocations: 49.67 kB / 0.6436 GB, free: 8.477 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.2024, allocations: 60.38 kB / 0.6436 GB, free: 8.418 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.2035, allocations: 0.6039 MB / 0.6442 GB, free: 7.789 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/0.2035, allocations: 4 kB / 0.6442 GB, free: 7.785 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.013e-05/0.2036, allocations: 27.98 kB / 0.6442 GB, free: 7.758 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/0.2036, allocations: 19.94 kB / 0.6443 GB, free: 7.738 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009887/0.2046, allocations: 461 kB / 0.6447 GB, free: 7.289 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00291/0.2075, allocations: 1.989 MB / 0.6466 GB, free: 5.23 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009112/0.2085, allocations: 445.8 kB / 0.6471 GB, free: 4.785 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004441/0.2089, allocations: 242.1 kB / 0.6473 GB, free: 4.547 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.749e-05/0.209, allocations: 8.438 kB / 0.6473 GB, free: 4.539 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005349/0.2095, allocations: 261.2 kB / 0.6476 GB, free: 4.27 MB / 494.1 MB Notification: Performance of pre-optimization done (n=49): time 2.555e-06/0.2095, allocations: 0 / 0.6476 GB, free: 4.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=49): time 0.001315/0.2108, allocations: 0.5883 MB / 0.6481 GB, free: 3.676 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.2109, allocations: 59.84 kB / 0.6482 GB, free: 3.605 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004785/0.2114, allocations: 438 kB / 0.6486 GB, free: 3.168 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.025e-05/0.2114, allocations: 37.7 kB / 0.6486 GB, free: 3.125 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002271/0.2117, allocations: 320.3 kB / 0.649 GB, free: 2.805 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/0.2118, allocations: 169.5 kB / 0.6491 GB, free: 2.637 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001391/0.2119, allocations: 90.25 kB / 0.6492 GB, free: 2.539 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.2121, allocations: 370.8 kB / 0.6496 GB, free: 2.168 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003905/0.2125, allocations: 165 kB / 0.6497 GB, free: 2.008 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004291/0.2129, allocations: 249.8 kB / 0.6499 GB, free: 1.738 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007943/0.2137, allocations: 452 kB / 0.6504 GB, free: 1.266 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.2137, allocations: 3.938 kB / 0.6504 GB, free: 1.262 MB / 494.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001037/0.2148, allocations: 0.5623 MB / 0.6509 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.452e-05/0.2148, allocations: 45.56 kB / 0.651 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.2148, allocations: 0 / 0.651 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/0.2149, allocations: 8 kB / 0.651 GB, free: 0.625 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004996/0.2154, allocations: 107.9 kB / 0.6511 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.2154, allocations: 7.938 kB / 0.6511 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003387/0.2158, allocations: 59.77 kB / 0.6512 GB, free: 464 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.761e-05/0.2158, allocations: 19.98 kB / 0.6512 GB, free: 444 kB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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.0002596/0.2161, allocations: 202.7 kB / 0.6514 GB, free: 232 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.528e-05/0.2161, allocations: 59.28 kB / 0.6514 GB, free: 172 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001377/0.2163, allocations: 65.58 kB / 0.6515 GB, free: 108 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.2163, allocations: 11.98 kB / 0.6515 GB, free: 96 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.2163, allocations: 3.938 kB / 0.6515 GB, free: 92 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.2163, allocations: 3.938 kB / 0.6515 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001805/0.2181, allocations: 1.178 MB / 0.6527 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.2182, allocations: 0 / 0.6527 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005023/0.2187, allocations: 91.88 kB / 0.6527 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.2187, allocations: 0 / 0.6527 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.339e-05/0.2187, allocations: 12 kB / 0.6528 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.695e-06/0.2187, allocations: 4 kB / 0.6528 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2187, allocations: 7.938 kB / 0.6528 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001364/0.2201, allocations: 0.7535 MB / 0.6535 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001938/0.2203, allocations: 180.2 kB / 0.6537 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.875e-05/0.2204, allocations: 16 kB / 0.6537 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002929/0.2207, allocations: 20.11 kB / 0.6537 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.2208, allocations: 44.38 kB / 0.6537 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.345e-05/0.2209, allocations: 8 kB / 0.6538 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003584/0.2212, allocations: 306.9 kB / 0.654 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2212, allocations: 0 / 0.654 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005034/0.2217, allocations: 143.5 kB / 0.6542 GB, free: 13.25 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001612/0.2219, allocations: 119.1 kB / 0.6543 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009898/0.2229, allocations: 477 kB / 0.6548 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2229, allocations: 0 / 0.6548 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004182/0.2233, allocations: 222.8 kB / 0.655 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000772/0.2241, allocations: 164.2 kB / 0.6551 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002687/0.2268, allocations: 1.33 MB / 0.6564 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004263/0.2273, allocations: 0.8899 MB / 0.6573 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002677/0.2275, allocations: 64.59 kB / 0.6574 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.2277, allocations: 39.44 kB / 0.6574 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of SimCode: time 3.61e-07/0.2277, allocations: 0 / 0.6574 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of Templates: time 0.012/0.2397, allocations: 6.005 MB / 0.6633 GB, free: 3.973 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)