Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.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.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",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.001195/0.001196, allocations: 102.4 kB / 15.98 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.001152/0.001152, allocations: 198.7 kB / 16.91 MB, free: 6.199 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.209/1.209, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6206/0.6206, allocations: 115.3 MB / 406.1 MB, free: 6.355 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001048/0.001048, allocations: 63.91 kB / 493.2 MB, free: 0.5977 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2979, allocations: 76.17 MB / 0.556 GB, free: 36.26 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002672/0.3006, allocations: 2.071 MB / 0.5581 GB, free: 34.83 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007727/0.3013, allocations: 0.5425 MB / 0.5586 GB, free: 34.45 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.3015, allocations: 2.188 kB / 0.5586 GB, free: 34.45 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.093e-05/0.3016, allocations: 21.84 kB / 0.5586 GB, free: 34.44 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.069e-05/0.3016, allocations: 23.92 kB / 0.5586 GB, free: 34.42 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001896/0.3018, allocations: 72.91 kB / 0.5587 GB, free: 34.37 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001775/0.302, allocations: 230.5 kB / 0.5589 GB, free: 34.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001621/0.3022, allocations: 116.3 kB / 0.559 GB, free: 34.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.3023, allocations: 88.55 kB / 0.5591 GB, free: 34.15 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.3024, allocations: 100.1 kB / 0.5592 GB, free: 34.1 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.554e-05/0.3025, allocations: 25.56 kB / 0.5592 GB, free: 34.1 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.935e-05/0.3025, allocations: 33.62 kB / 0.5593 GB, free: 34.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.7e-05/0.3026, allocations: 55 kB / 0.5593 GB, free: 34.06 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.939e-05/0.3027, allocations: 112.1 kB / 0.5594 GB, free: 33.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002455/0.3029, allocations: 266 kB / 0.5597 GB, free: 33.87 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.3029, allocations: 0.7969 kB / 0.5597 GB, free: 33.87 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.3029, allocations: 0 / 0.5597 GB, free: 33.87 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.3029, allocations: 1.844 kB / 0.5597 GB, free: 33.87 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0005649/0.3035, allocations: 0.5208 MB / 0.5602 GB, free: 33.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.823e-05/0.3036, allocations: 10.11 kB / 0.5602 GB, free: 33.41 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.876e-05/0.3036, allocations: 52.12 kB / 0.5603 GB, free: 33.36 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.647e-05/0.3036, allocations: 35.34 kB / 0.5603 GB, free: 33.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002124/0.3039, allocations: 257.1 kB / 0.5605 GB, free: 33.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.3039, allocations: 11.94 kB / 0.5605 GB, free: 33.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/0.3039, allocations: 20.94 kB / 0.5606 GB, free: 33.08 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003243/0.3042, allocations: 230.8 kB / 0.5608 GB, free: 32.95 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.3043, allocations: 2.75 kB / 0.5608 GB, free: 32.95 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.3043, allocations: 6.125 kB / 0.5608 GB, free: 32.94 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3043, allocations: 3.938 kB / 0.5608 GB, free: 32.94 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002672/0.3046, allocations: 141.8 kB / 0.5609 GB, free: 32.9 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006937/0.3053, allocations: 0.5886 MB / 0.5615 GB, free: 32.49 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002872/0.3056, allocations: 119.4 kB / 0.5616 GB, free: 32.44 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.955e-05/0.3057, allocations: 49.77 kB / 0.5617 GB, free: 32.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.3057, allocations: 3.484 kB / 0.5617 GB, free: 32.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.28e-05/0.3057, allocations: 36.92 kB / 0.5617 GB, free: 32.37 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.3057, allocations: 0.75 kB / 0.5617 GB, free: 32.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003766/0.3061, allocations: 174.3 kB / 0.5619 GB, free: 32.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.689e-05/0.3062, allocations: 130.4 kB / 0.562 GB, free: 32.13 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.3063, allocations: 211 kB / 0.5622 GB, free: 32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.3063, allocations: 33.86 kB / 0.5622 GB, free: 31.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.622e-05/0.3064, allocations: 147.5 kB / 0.5624 GB, free: 31.83 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.277e-05/0.3064, allocations: 31.67 kB / 0.5624 GB, free: 31.81 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-05/0.3065, allocations: 36.69 kB / 0.5624 GB, free: 31.79 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.451e-05/0.3065, allocations: 328.4 kB / 0.5627 GB, free: 31.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.3067, allocations: 46.52 kB / 0.5628 GB, free: 31.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.3068, allocations: 88.59 kB / 0.5629 GB, free: 31.39 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.307, allocations: 85.77 kB / 0.563 GB, free: 31.35 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.307, allocations: 5.219 kB / 0.563 GB, free: 31.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002588/0.3072, allocations: 156.3 kB / 0.5631 GB, free: 31.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.3072, allocations: 5.062 kB / 0.5631 GB, free: 31.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-06/0.3073, allocations: 2.469 kB / 0.5631 GB, free: 31.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.3073, allocations: 5.25 kB / 0.5631 GB, free: 31.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.3074, allocations: 29.38 kB / 0.5632 GB, free: 31.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.3074, allocations: 2.594 kB / 0.5632 GB, free: 31.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.3075, allocations: 29 kB / 0.5632 GB, free: 31.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/0.3075, allocations: 5.156 kB / 0.5632 GB, free: 31.25 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 (temPro.hysdTConEva.y,$PRE.temPro.hysdTConEva.y,temPro.on.y,temPro.hysLow.y,$PRE.temPro.hysLow.y,temPro.hysHig.y,$PRE.temPro.hysHig.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 7.893e-05/0.3076, allocations: 134.8 kB / 0.5633 GB, free: 31.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.96e-05/0.3077, allocations: 23.67 kB / 0.5633 GB, free: 31.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002785/0.3079, allocations: 144.5 kB / 0.5635 GB, free: 31.03 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.308, allocations: 5.625 kB / 0.5635 GB, free: 31.03 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.308, allocations: 1.891 kB / 0.5635 GB, free: 31.03 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.308, allocations: 0.6875 kB / 0.5635 GB, free: 31.03 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002033/0.3082, allocations: 272.1 kB / 0.5637 GB, free: 30.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3082, allocations: 2.531 kB / 0.5637 GB, free: 30.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.197e-05/0.3083, allocations: 18.41 kB / 0.5638 GB, free: 30.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3083, allocations: 1.906 kB / 0.5638 GB, free: 30.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.3083, allocations: 2.438 kB / 0.5638 GB, free: 30.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3083, allocations: 5 kB / 0.5638 GB, free: 30.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3083, allocations: 1.641 kB / 0.5638 GB, free: 30.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002469/0.3086, allocations: 229.9 kB / 0.564 GB, free: 30.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.915e-05/0.3086, allocations: 94.88 kB / 0.5641 GB, free: 30.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.125e-05/0.3087, allocations: 6.469 kB / 0.5641 GB, free: 30.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.3088, allocations: 23.2 kB / 0.5641 GB, free: 30.51 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.553e-05/0.3089, allocations: 23.62 kB / 0.5641 GB, free: 30.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.3089, allocations: 5.031 kB / 0.5641 GB, free: 30.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.249e-05/0.309, allocations: 154.9 kB / 0.5643 GB, free: 30.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.309, allocations: 1.25 kB / 0.5643 GB, free: 30.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002508/0.3093, allocations: 41.33 kB / 0.5643 GB, free: 30.39 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (temPro.hysHig.y,temPro.hysLow.y,temPro.on.y,temPro.hysdTConEva.y) * Number of discrete states: 3 (temPro.hysdTConEva.y,temPro.hysLow.y,temPro.hysHig.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0004101/0.3097, allocations: 0.7702 MB / 0.5651 GB, free: 29.69 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002807/0.31, allocations: 113.1 kB / 0.5652 GB, free: 29.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.31, allocations: 2.938 kB / 0.5652 GB, free: 29.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.3101, allocations: 57.53 kB / 0.5652 GB, free: 29.64 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.3104, allocations: 21.48 kB / 0.5653 GB, free: 29.62 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/0.3122, allocations: 2.048 MB / 0.5673 GB, free: 28.06 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001297/0.3124, allocations: 0.7299 MB / 0.568 GB, free: 27.37 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.234e-05/0.3124, allocations: 28.05 kB / 0.568 GB, free: 27.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.061e-05/0.3125, allocations: 66.78 kB / 0.5681 GB, free: 27.31 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3125, allocations: 0 / 0.5681 GB, free: 27.31 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.395/3.707, allocations: 3.697 MB / 0.5717 GB, free: 27.02 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001672/3.707, allocations: 243.9 kB / 0.5719 GB, free: 26.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.486/7.193, allocations: 0 / 0.5719 GB, free: 26.77 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)