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) 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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 109.2 kB / 15.99 MB, free: 6.355 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.001175/0.001175, allocations: 193.7 kB / 16.91 MB, free: 6.195 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.351/1.351, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7202/0.7202, allocations: 115.3 MB / 406.1 MB, free: 6.43 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 60.05 kB / 493.2 MB, free: 0.6328 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.3563, allocations: 76.17 MB / 0.556 GB, free: 35.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.00377/0.3601, allocations: 3.008 MB / 0.559 GB, free: 33.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001387/0.3615, allocations: 0.8886 MB / 0.5598 GB, free: 32.85 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002192/0.3617, allocations: 13.88 kB / 0.5598 GB, free: 32.84 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002061/0.362, allocations: 46.47 kB / 0.5599 GB, free: 32.81 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00017/0.3621, allocations: 73.47 kB / 0.5599 GB, free: 32.76 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000462/0.3626, allocations: 198.1 kB / 0.5601 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004017/0.363, allocations: 488.2 kB / 0.5606 GB, free: 32.38 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003526/0.3634, allocations: 215.6 kB / 0.5608 GB, free: 32.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001966/0.3636, allocations: 178.8 kB / 0.561 GB, free: 32.19 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001688/0.3638, allocations: 180.6 kB / 0.5612 GB, free: 32.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.214e-05/0.3638, allocations: 43.56 kB / 0.5612 GB, free: 32.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.059e-05/0.3639, allocations: 42.94 kB / 0.5612 GB, free: 32.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.089e-05/0.364, allocations: 96.36 kB / 0.5613 GB, free: 32.02 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.3641, allocations: 204.6 kB / 0.5615 GB, free: 31.87 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004775/0.3646, allocations: 0.4904 MB / 0.562 GB, free: 31.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3646, allocations: 0 / 0.562 GB, free: 31.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3646, allocations: 0 / 0.562 GB, free: 31.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.3646, allocations: 0.75 kB / 0.562 GB, free: 31.66 MB / 446.1 MB 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.001004/0.3656, allocations: 0.7161 MB / 0.5627 GB, free: 31.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.3657, allocations: 9.453 kB / 0.5627 GB, free: 31.09 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.266e-05/0.3658, allocations: 67.3 kB / 0.5628 GB, free: 31.03 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.125e-05/0.3658, allocations: 48.91 kB / 0.5628 GB, free: 31 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005143/0.3664, allocations: 391.8 kB / 0.5632 GB, free: 30.69 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.601e-05/0.3664, allocations: 21.41 kB / 0.5632 GB, free: 30.68 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.848e-05/0.3664, allocations: 31.34 kB / 0.5632 GB, free: 30.67 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005644/0.367, allocations: 341.9 kB / 0.5636 GB, free: 30.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.367, allocations: 1 kB / 0.5636 GB, free: 30.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.052e-05/0.3671, allocations: 10.81 kB / 0.5636 GB, free: 30.47 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.3671, allocations: 10.05 kB / 0.5636 GB, free: 30.47 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004633/0.3676, allocations: 214.6 kB / 0.5638 GB, free: 30.39 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001439/0.369, allocations: 1.191 MB / 0.565 GB, free: 29.53 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005758/0.3696, allocations: 235.2 kB / 0.5652 GB, free: 29.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002215/0.3698, allocations: 119.8 kB / 0.5653 GB, free: 29.38 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.012e-05/0.3699, allocations: 6.031 kB / 0.5653 GB, free: 29.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.3699, allocations: 36 kB / 0.5653 GB, free: 29.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 2.003e-06/0.3699, allocations: 0 / 0.5653 GB, free: 29.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=22): time 0.0006891/0.3706, allocations: 291.2 kB / 0.5656 GB, free: 29.21 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.3707, allocations: 105.4 kB / 0.5657 GB, free: 29.08 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000353/0.371, allocations: 341.2 kB / 0.566 GB, free: 28.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.3711, allocations: 32.11 kB / 0.5661 GB, free: 28.87 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.3712, allocations: 219.6 kB / 0.5663 GB, free: 28.69 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.569e-05/0.3713, allocations: 82.83 kB / 0.5664 GB, free: 28.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.782e-05/0.3714, allocations: 50.59 kB / 0.5664 GB, free: 28.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.325e-05/0.3714, allocations: 344.9 kB / 0.5667 GB, free: 28.26 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/0.3716, allocations: 82.09 kB / 0.5668 GB, free: 28.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002055/0.3718, allocations: 139.9 kB / 0.5669 GB, free: 28.13 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000354/0.3722, allocations: 215 kB / 0.5672 GB, free: 28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.3722, allocations: 4.875 kB / 0.5672 GB, free: 28 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000497/0.3727, allocations: 282 kB / 0.5674 GB, free: 27.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.3728, allocations: 5.875 kB / 0.5674 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.3728, allocations: 3.812 kB / 0.5674 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.3728, allocations: 2.891 kB / 0.5674 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002299/0.373, allocations: 51.7 kB / 0.5675 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.373, allocations: 5.062 kB / 0.5675 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001861/0.3732, allocations: 31.25 kB / 0.5675 GB, free: 27.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.3733, allocations: 7.562 kB / 0.5675 GB, free: 27.85 MB / 446.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: 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.0001362/0.3734, allocations: 168.6 kB / 0.5677 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.919e-05/0.3735, allocations: 41.47 kB / 0.5677 GB, free: 27.67 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.469e-05/0.3736, allocations: 41.81 kB / 0.5678 GB, free: 27.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.3736, allocations: 3.844 kB / 0.5678 GB, free: 27.64 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.3736, allocations: 0 / 0.5678 GB, free: 27.64 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.3736, allocations: 2.562 kB / 0.5678 GB, free: 27.64 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004158/0.374, allocations: 391.4 kB / 0.5681 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.374, allocations: 0.5 kB / 0.5682 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002312/0.3743, allocations: 47.12 kB / 0.5682 GB, free: 27.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.3743, allocations: 6.188 kB / 0.5682 GB, free: 27.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.185e-05/0.3743, allocations: 1.781 kB / 0.5682 GB, free: 27.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.3743, allocations: 2.375 kB / 0.5682 GB, free: 27.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3743, allocations: 4.875 kB / 0.5682 GB, free: 27.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006333/0.375, allocations: 423.2 kB / 0.5686 GB, free: 27.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.615e-05/0.3751, allocations: 131.6 kB / 0.5687 GB, free: 26.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.405e-05/0.3751, allocations: 7.625 kB / 0.5687 GB, free: 26.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001891/0.3753, allocations: 18.03 kB / 0.5688 GB, free: 26.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.25e-05/0.3754, allocations: 23.2 kB / 0.5688 GB, free: 26.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.3754, allocations: 7.969 kB / 0.5688 GB, free: 26.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000221/0.3756, allocations: 241.2 kB / 0.569 GB, free: 26.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3756, allocations: 0 / 0.569 GB, free: 26.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003263/0.376, allocations: 66.06 kB / 0.5691 GB, free: 26.8 MB / 446.1 MB 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.0007967/0.3768, allocations: 0.9666 MB / 0.57 GB, free: 26.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004793/0.3773, allocations: 211.3 kB / 0.5702 GB, free: 25.94 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3773, allocations: 0 / 0.5702 GB, free: 25.94 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001974/0.3775, allocations: 101.3 kB / 0.5703 GB, free: 25.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006107/0.3781, allocations: 74.58 kB / 0.5704 GB, free: 25.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00408/0.3822, allocations: 3.28 MB / 0.5736 GB, free: 23.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.3825, allocations: 0.7937 MB / 0.5744 GB, free: 22.98 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000178/0.3827, allocations: 36.48 kB / 0.5744 GB, free: 22.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001656/0.3828, allocations: 128.2 kB / 0.5745 GB, free: 22.89 MB / 446.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3828, allocations: 0 / 0.5745 GB, free: 22.89 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01964/0.4025, allocations: 6.393 MB / 0.5808 GB, free: 22.37 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001342/0.4027, allocations: 210.5 kB / 0.581 GB, free: 22.12 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.862/2.264, allocations: 3.938 kB / 0.581 GB, free: 22.11 MB / 446.1 MB (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 --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)