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.001014/0.001014, allocations: 105.2 kB / 16.27 MB, free: 6.41 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.001051/0.001051, allocations: 184.6 kB / 17.2 MB, free: 5.953 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.332/1.332, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.747/0.747, allocations: 122.9 MB / 413.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 55.91 kB / 0.4912 GB, free: 7.359 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3338, allocations: 77.92 MB / 0.5673 GB, free: 32.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.005361/0.3392, allocations: 2.965 MB / 0.5702 GB, free: 30.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002654/0.3419, allocations: 0.9049 MB / 0.5711 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005999/0.3425, allocations: 14.44 kB / 0.5711 GB, free: 29.95 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002971/0.3428, allocations: 67.55 kB / 0.5711 GB, free: 29.9 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002778/0.3432, allocations: 94.25 kB / 0.5712 GB, free: 29.83 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007393/0.344, allocations: 214.2 kB / 0.5714 GB, free: 29.71 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006406/0.3446, allocations: 497.3 kB / 0.5719 GB, free: 29.45 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004673/0.3451, allocations: 216.8 kB / 0.5721 GB, free: 29.35 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002783/0.3454, allocations: 182.2 kB / 0.5723 GB, free: 29.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000249/0.3457, allocations: 183.5 kB / 0.5725 GB, free: 29.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.043e-05/0.3458, allocations: 44.06 kB / 0.5725 GB, free: 29.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.223e-05/0.3458, allocations: 44 kB / 0.5725 GB, free: 29.14 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.694e-05/0.3459, allocations: 87.98 kB / 0.5726 GB, free: 29.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001885/0.3461, allocations: 203.7 kB / 0.5728 GB, free: 28.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000621/0.3467, allocations: 0.4896 MB / 0.5733 GB, free: 28.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.854e-06/0.3468, allocations: 2.375 kB / 0.5733 GB, free: 28.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3468, allocations: 0 / 0.5733 GB, free: 28.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.511e-05/0.3468, allocations: 0.9375 kB / 0.5733 GB, free: 28.71 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.001118/0.3479, allocations: 0.7111 MB / 0.574 GB, free: 28.15 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.348, allocations: 10.56 kB / 0.574 GB, free: 28.15 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.013e-05/0.3481, allocations: 71.3 kB / 0.5741 GB, free: 28.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.581e-05/0.3481, allocations: 48.69 kB / 0.5741 GB, free: 28.06 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005367/0.3487, allocations: 391.9 kB / 0.5745 GB, free: 27.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.775e-05/0.3487, allocations: 21.03 kB / 0.5745 GB, free: 27.74 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.669e-05/0.3488, allocations: 36.94 kB / 0.5745 GB, free: 27.72 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005436/0.3493, allocations: 340.2 kB / 0.5749 GB, free: 27.53 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.3494, allocations: 0.5 kB / 0.5749 GB, free: 27.53 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.952e-05/0.3494, allocations: 12.69 kB / 0.5749 GB, free: 27.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.3494, allocations: 7.438 kB / 0.5749 GB, free: 27.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00046/0.3499, allocations: 216.8 kB / 0.5751 GB, free: 27.45 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001427/0.3513, allocations: 1.183 MB / 0.5763 GB, free: 26.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005603/0.3519, allocations: 234 kB / 0.5765 GB, free: 26.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002066/0.3521, allocations: 117.3 kB / 0.5766 GB, free: 26.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.086e-05/0.3522, allocations: 15.45 kB / 0.5766 GB, free: 26.42 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.747e-05/0.3522, allocations: 36.69 kB / 0.5766 GB, free: 26.38 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 1.673e-06/0.3522, allocations: 2 kB / 0.5766 GB, free: 26.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=22): time 0.000652/0.3528, allocations: 295.1 kB / 0.5769 GB, free: 26.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/0.3529, allocations: 106 kB / 0.577 GB, free: 26.12 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003179/0.3532, allocations: 338.1 kB / 0.5773 GB, free: 25.94 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.3532, allocations: 31.42 kB / 0.5774 GB, free: 25.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.3534, allocations: 220.3 kB / 0.5776 GB, free: 25.73 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.828e-05/0.3534, allocations: 79.36 kB / 0.5777 GB, free: 25.66 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.875e-05/0.3535, allocations: 48.81 kB / 0.5777 GB, free: 25.63 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.653e-05/0.3536, allocations: 346.1 kB / 0.578 GB, free: 25.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/0.3538, allocations: 77.62 kB / 0.5781 GB, free: 25.28 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/0.354, allocations: 149.8 kB / 0.5783 GB, free: 25.17 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003512/0.3543, allocations: 205.8 kB / 0.5785 GB, free: 25.04 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.3543, allocations: 9.188 kB / 0.5785 GB, free: 25.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004655/0.3548, allocations: 283.5 kB / 0.5787 GB, free: 24.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.3548, allocations: 7.688 kB / 0.5787 GB, free: 24.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.3548, allocations: 1.25 kB / 0.5787 GB, free: 24.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.3549, allocations: 3.75 kB / 0.5787 GB, free: 24.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002311/0.3551, allocations: 57.56 kB / 0.5788 GB, free: 24.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.3551, allocations: 3.016 kB / 0.5788 GB, free: 24.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001778/0.3553, allocations: 34.94 kB / 0.5788 GB, free: 24.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/0.3553, allocations: 11.47 kB / 0.5788 GB, free: 24.88 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.0001234/0.3554, allocations: 168.2 kB / 0.579 GB, free: 24.72 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.663e-05/0.3555, allocations: 31.95 kB / 0.579 GB, free: 24.71 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.174e-05/0.3556, allocations: 37.92 kB / 0.5791 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.3556, allocations: 1.375 kB / 0.5791 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.3556, allocations: 3.562 kB / 0.5791 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.3556, allocations: 1.266 kB / 0.5791 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000363/0.356, allocations: 395.7 kB / 0.5795 GB, free: 24.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.356, allocations: 0.8438 kB / 0.5795 GB, free: 24.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000222/0.3562, allocations: 46.58 kB / 0.5795 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3562, allocations: 0 / 0.5795 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.3563, allocations: 4.766 kB / 0.5795 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3563, allocations: 0.5 kB / 0.5795 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.3563, allocations: 1.375 kB / 0.5795 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006019/0.3569, allocations: 432.3 kB / 0.5799 GB, free: 24.12 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.895e-05/0.357, allocations: 130.7 kB / 0.58 GB, free: 24 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.309e-05/0.357, allocations: 3.594 kB / 0.58 GB, free: 24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000179/0.3572, allocations: 18.08 kB / 0.5801 GB, free: 23.99 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.514e-05/0.3573, allocations: 19.61 kB / 0.5801 GB, free: 23.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.3573, allocations: 4.781 kB / 0.5801 GB, free: 23.99 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001977/0.3575, allocations: 241 kB / 0.5803 GB, free: 23.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.21e-07/0.3575, allocations: 1.375 kB / 0.5803 GB, free: 23.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003171/0.3578, allocations: 73.12 kB / 0.5804 GB, free: 23.84 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.0007231/0.3586, allocations: 0.9605 MB / 0.5813 GB, free: 23.06 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004458/0.359, allocations: 206.1 kB / 0.5815 GB, free: 22.99 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.359, allocations: 2.125 kB / 0.5815 GB, free: 22.99 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001855/0.3592, allocations: 99.86 kB / 0.5816 GB, free: 22.96 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005226/0.3597, allocations: 85.72 kB / 0.5817 GB, free: 22.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003596/0.3633, allocations: 3.15 MB / 0.5848 GB, free: 20.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001834/0.3636, allocations: 0.7921 MB / 0.5856 GB, free: 20.09 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000186/0.3638, allocations: 41.19 kB / 0.5856 GB, free: 20.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/0.3639, allocations: 122.4 kB / 0.5857 GB, free: 19.97 MB / 446.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3639, allocations: 0 / 0.5857 GB, free: 19.97 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02377/0.3877, allocations: 6.554 MB / 0.5921 GB, free: 16.85 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.489/7.877, allocations: 14.23 kB / 0.5921 GB, free: 16.84 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)