Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.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.0009216/0.0009216, allocations: 96.2 kB / 20.43 MB, free: 4.133 MB / 18.57 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.00104/0.00104, allocations: 165 kB / 23.8 MB, free: 0.7656 MB / 18.57 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.076/1.076, allocations: 177.1 MB / 204.2 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.639/0.639, allocations: 115 MB / 375.7 MB, free: 7.625 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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: translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.675e-06/2.675e-06, allocations: 0 / 481.6 MB, free: 11.87 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.926e-05/3.193e-05, allocations: 6.469 kB / 481.6 MB, free: 11.86 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002213/0.002245, allocations: 0.8404 MB / 482.4 MB, free: 11.36 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001238/0.003483, allocations: 0.9351 MB / 483.4 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.271e-05/0.003546, allocations: 1.469 kB / 483.4 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.095e-05/0.003587, allocations: 9.125 kB / 483.4 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001141/0.003701, allocations: 27.11 kB / 483.4 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002842/0.003985, allocations: 45.17 kB / 483.4 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001618/0.004147, allocations: 117.2 kB / 483.5 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.004274, allocations: 24.67 kB / 483.6 MB, free: 10.56 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002436/0.004517, allocations: 68.75 kB / 483.6 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.985e-05/0.004617, allocations: 44.75 kB / 483.7 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.337e-05/0.00465, allocations: 9.594 kB / 483.7 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.254e-05/0.004713, allocations: 13.41 kB / 483.7 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.116e-05/0.004744, allocations: 33.52 kB / 483.7 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.67e-05/0.004791, allocations: 25.47 kB / 483.8 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001927/0.004983, allocations: 96.8 kB / 483.9 MB, free: 10.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.004987, allocations: 0 / 483.9 MB, free: 10.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.004988, allocations: 0.875 kB / 483.9 MB, free: 10.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.004994, allocations: 0.625 kB / 483.9 MB, free: 10.43 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005555/0.005549, allocations: 461.2 kB / 484.3 MB, free: 10.01 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.005596, allocations: 8.656 kB / 484.3 MB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002789/0.005875, allocations: 38.02 kB / 484.4 MB, free: 10 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003307/0.006205, allocations: 185.4 kB / 484.5 MB, free: 9.844 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.006231, allocations: 4.969 kB / 484.5 MB, free: 9.844 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.006254, allocations: 9.531 kB / 484.5 MB, free: 9.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002299/0.006484, allocations: 116.1 kB / 484.7 MB, free: 9.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.006498, allocations: 2.281 kB / 484.7 MB, free: 9.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.006513, allocations: 5.5 kB / 484.7 MB, free: 9.746 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.006524, allocations: 5.188 kB / 484.7 MB, free: 9.742 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.571e-05/0.006609, allocations: 25.98 kB / 484.7 MB, free: 9.738 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007619/0.007371, allocations: 0.5666 MB / 485.3 MB, free: 25.19 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.007515, allocations: 110.4 kB / 485.4 MB, free: 25.07 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.305e-05/0.007568, allocations: 48.31 kB / 485.4 MB, free: 25.02 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/0.007598, allocations: 1.969 kB / 485.4 MB, free: 25.02 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.007618, allocations: 37.14 kB / 485.5 MB, free: 24.98 MB / 426.7 MB Notification: Performance of pre-optimization done (n=8): time 1.783e-06/0.00762, allocations: 0 / 485.5 MB, free: 24.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003138/0.007933, allocations: 97.09 kB / 485.6 MB, free: 24.92 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.007964, allocations: 103.9 kB / 485.7 MB, free: 24.8 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.008097, allocations: 208.8 kB / 485.9 MB, free: 24.62 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.008117, allocations: 28.45 kB / 485.9 MB, free: 24.59 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.581e-05/0.008192, allocations: 159.8 kB / 486 MB, free: 24.43 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/0.008225, allocations: 23.53 kB / 486.1 MB, free: 24.41 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.206e-05/0.008277, allocations: 28.69 kB / 486.1 MB, free: 24.39 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.008426, allocations: 0.4948 MB / 486.6 MB, free: 23.89 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.27e-05/0.008478, allocations: 13 kB / 486.6 MB, free: 23.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.366e-05/0.008562, allocations: 152.9 kB / 486.8 MB, free: 23.72 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.568e-05/0.008648, allocations: 53.06 kB / 486.8 MB, free: 23.67 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.00865, allocations: 0.9375 kB / 486.8 MB, free: 23.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000166/0.008816, allocations: 99.84 kB / 486.9 MB, free: 23.61 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.008835, allocations: 6.344 kB / 486.9 MB, free: 23.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.008841, allocations: 5.312 kB / 486.9 MB, free: 23.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.00886, allocations: 1.438 kB / 486.9 MB, free: 23.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.008971, allocations: 19.73 kB / 486.9 MB, free: 23.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.008978, allocations: 1.594 kB / 486.9 MB, free: 23.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.974e-05/0.009047, allocations: 14.47 kB / 487 MB, free: 23.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.00906, allocations: 8.562 kB / 487 MB, free: 23.6 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (hysteresis.y,$PRE.hysteresis.y,hysteresis1.y,$PRE.hysteresis1.y,hysteresis2.y,$PRE.hysteresis2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 8.904e-05/0.009149, allocations: 160.4 kB / 487.1 MB, free: 23.43 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.126e-05/0.00922, allocations: 15.33 kB / 487.1 MB, free: 23.43 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000141/0.009361, allocations: 70.91 kB / 487.2 MB, free: 23.37 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.009365, allocations: 1.344 kB / 487.2 MB, free: 23.37 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.009371, allocations: 1.938 kB / 487.2 MB, free: 23.37 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.009375, allocations: 3.938 kB / 487.2 MB, free: 23.37 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002592/0.009634, allocations: 145.5 kB / 487.3 MB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.009637, allocations: 1.469 kB / 487.3 MB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.171e-05/0.009709, allocations: 18.38 kB / 487.4 MB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.009713, allocations: 5.281 kB / 487.4 MB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.009724, allocations: 1.156 kB / 487.4 MB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.009727, allocations: 1.719 kB / 487.4 MB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.00973, allocations: 6.578 kB / 487.4 MB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002705/0.01, allocations: 462.9 kB / 487.8 MB, free: 22.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.778e-05/0.01002, allocations: 23.22 kB / 487.9 MB, free: 22.75 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.761e-05/0.01005, allocations: 7.25 kB / 487.9 MB, free: 22.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/0.0102, allocations: 6.156 kB / 487.9 MB, free: 22.75 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.804e-05/0.01028, allocations: 29.48 kB / 487.9 MB, free: 22.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.01029, allocations: 6.047 kB / 487.9 MB, free: 22.74 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.987e-05/0.01037, allocations: 150.7 kB / 488.1 MB, free: 22.62 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01037, allocations: 0 / 488.1 MB, free: 22.62 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003812/0.01075, allocations: 17.78 kB / 488.1 MB, free: 22.62 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (hysteresis.y,hysteresis1.y,hysteresis2.y) * Number of discrete states: 3 (hysteresis2.y,hysteresis1.y,hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001116/0.01086, allocations: 105.2 kB / 488.2 MB, free: 22.52 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001707/0.01103, allocations: 51.62 kB / 488.2 MB, free: 22.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.01104, allocations: 5.312 kB / 488.2 MB, free: 22.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.951e-05/0.0111, allocations: 30.94 kB / 488.3 MB, free: 22.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004666/0.01156, allocations: 19.17 kB / 488.3 MB, free: 22.47 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004014/0.01196, allocations: 221.6 kB / 488.5 MB, free: 22.27 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.293e-05/0.01202, allocations: 70.75 kB / 488.6 MB, free: 22.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.145e-05/0.01209, allocations: 13.25 kB / 488.6 MB, free: 22.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.975e-05/0.01215, allocations: 19.59 kB / 488.6 MB, free: 22.2 MB / 426.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01215, allocations: 0 / 488.6 MB, free: 22.2 MB / 426.7 MB Notification: Performance of Templates: time 0.003355/0.0155, allocations: 1.423 MB / 490 MB, free: 22.1 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9481207840144634]