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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0008803/0.0008804, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4837/0.4837, allocations: 90.9 MB / 99.34 MB, free: 2.195 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 221.5 MB / 343.2 MB, free: 1.551 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008505/0.0008505, allocations: 97.28 kB / 415.9 MB, free: 11.09 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.766e-05/1.769e-05, allocations: 4 kB / 494.6 MB, free: 52.28 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1472, allocations: 72.3 MB / 0.5536 GB, free: 12.15 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4975/0.6448, allocations: 103.8 MB / 0.655 GB, free: 6.512 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002174/0.6451, allocations: 91.12 kB / 0.6551 GB, free: 6.457 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008531/0.6536, allocations: 3.327 MB / 0.6583 GB, free: 3.641 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.6537, allocations: 0 / 0.6583 GB, free: 3.641 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.577e-05/0.6537, allocations: 8 kB / 0.6583 GB, free: 3.633 MB / 458.7 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.0006045/0.6543, allocations: 481.8 kB / 0.6588 GB, free: 3.133 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.6544, allocations: 12.03 kB / 0.6588 GB, free: 3.121 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.071e-05/0.6544, allocations: 23.72 kB / 0.6588 GB, free: 3.098 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002634/0.6547, allocations: 224.2 kB / 0.659 GB, free: 2.852 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.6547, allocations: 7.984 kB / 0.6591 GB, free: 2.844 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.794e-05/0.6548, allocations: 12 kB / 0.6591 GB, free: 2.832 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002262/0.655, allocations: 116.3 kB / 0.6592 GB, free: 2.762 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000282/0.6553, allocations: 173.5 kB / 0.6593 GB, free: 2.613 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.6553, allocations: 7.938 kB / 0.6593 GB, free: 2.605 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.293e-05/0.6553, allocations: 11.98 kB / 0.6594 GB, free: 2.594 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.6553, allocations: 4 kB / 0.6594 GB, free: 2.59 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008169/0.6562, allocations: 0.5627 MB / 0.6599 GB, free: 2.082 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002701/0.6565, allocations: 104.6 kB / 0.66 GB, free: 2 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.977e-05/0.6565, allocations: 42.3 kB / 0.6601 GB, free: 1.969 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.811e-05/0.6566, allocations: 7.188 kB / 0.6601 GB, free: 1.965 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.6566, allocations: 34.56 kB / 0.6601 GB, free: 1.922 MB / 458.7 MB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.6566, allocations: 0 / 0.6601 GB, free: 1.922 MB / 458.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002536/0.6569, allocations: 102.1 kB / 0.6602 GB, free: 1.836 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.102e-05/0.6569, allocations: 135.8 kB / 0.6603 GB, free: 1.676 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.6571, allocations: 159.7 kB / 0.6605 GB, free: 1.535 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.104e-05/0.6571, allocations: 33.69 kB / 0.6605 GB, free: 1.496 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.354e-05/0.6572, allocations: 147 kB / 0.6606 GB, free: 1.371 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.006e-05/0.6573, allocations: 19.09 kB / 0.6607 GB, free: 1.355 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.466e-06/0.6573, allocations: 3.938 kB / 0.6607 GB, free: 1.352 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.6574, allocations: 334.4 kB / 0.661 GB, free: 1.023 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.011e-05/0.6575, allocations: 37.31 kB / 0.661 GB, free: 1.004 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.894e-05/0.6576, allocations: 61 kB / 0.6611 GB, free: 0.9492 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.904e-05/0.6576, allocations: 34.17 kB / 0.6611 GB, free: 0.9297 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.6576, allocations: 0 / 0.6611 GB, free: 0.9297 MB / 458.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001986/0.6579, allocations: 127.1 kB / 0.6612 GB, free: 0.8242 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.6579, allocations: 8 kB / 0.6612 GB, free: 0.8164 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.6579, allocations: 0 / 0.6612 GB, free: 0.8164 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.6579, allocations: 0 / 0.6612 GB, free: 0.8164 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.658, allocations: 19.98 kB / 0.6613 GB, free: 0.7969 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.658, allocations: 0 / 0.6613 GB, free: 0.7969 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001686/0.6582, allocations: 39.81 kB / 0.6613 GB, free: 0.7578 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/0.6582, allocations: 6.562 kB / 0.6613 GB, free: 0.7539 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.temPro.hysHig.y,temPro.hysHig.y,$PRE.temPro.hysLow.y,temPro.hysLow.y,temPro.on.y,$PRE.temPro.hysdTConEva.y,temPro.hysdTConEva.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.413e-05/0.6583, allocations: 106.4 kB / 0.6614 GB, free: 0.6445 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001871/0.6585, allocations: 115.6 kB / 0.6615 GB, free: 0.5469 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.656e-05/0.6586, allocations: 15.81 kB / 0.6615 GB, free: 0.5312 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002337/0.6588, allocations: 122.5 kB / 0.6616 GB, free: 448 kB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.6588, allocations: 0 / 0.6616 GB, free: 448 kB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.279e-06/0.6588, allocations: 0 / 0.6616 GB, free: 448 kB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.6588, allocations: 4 kB / 0.6616 GB, free: 444 kB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000241/0.6591, allocations: 232.6 kB / 0.6619 GB, free: 208 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.6591, allocations: 3.953 kB / 0.6619 GB, free: 204 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.78e-05/0.6592, allocations: 19.98 kB / 0.6619 GB, free: 184 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.6592, allocations: 0 / 0.6619 GB, free: 184 kB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.6592, allocations: 3.938 kB / 0.6619 GB, free: 180 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.6592, allocations: 0 / 0.6619 GB, free: 180 kB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.6592, allocations: 3.984 kB / 0.6619 GB, free: 176 kB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.6595, allocations: 209.2 kB / 0.6621 GB, free: 15.98 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.999e-05/0.6595, allocations: 92.88 kB / 0.6622 GB, free: 15.87 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.899e-05/0.6596, allocations: 0 / 0.6622 GB, free: 15.87 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.6597, allocations: 35.97 kB / 0.6622 GB, free: 15.83 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.861e-05/0.6598, allocations: 27.5 kB / 0.6623 GB, free: 15.81 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.6598, allocations: 15.92 kB / 0.6623 GB, free: 15.79 MB / 474.7 MB Notification: Performance of sorting global known variables: time 8.789e-05/0.6599, allocations: 123.6 kB / 0.6624 GB, free: 15.69 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6599, allocations: 0 / 0.6624 GB, free: 15.69 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002431/0.6602, allocations: 39.84 kB / 0.6624 GB, free: 15.65 MB / 474.7 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005095/0.6607, allocations: 0.754 MB / 0.6632 GB, free: 14.89 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001723/0.6609, allocations: 88.8 kB / 0.6632 GB, free: 14.84 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.6609, allocations: 0 / 0.6632 GB, free: 14.84 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 6.881e-05/0.661, allocations: 37.38 kB / 0.6633 GB, free: 14.81 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/0.6612, allocations: 20.67 kB / 0.6633 GB, free: 14.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005414/0.6617, allocations: 243.5 kB / 0.6635 GB, free: 14.54 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.662, allocations: 0.7318 MB / 0.6642 GB, free: 13.79 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 8.286e-05/0.6621, allocations: 17.2 kB / 0.6643 GB, free: 13.76 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.168e-05/0.6622, allocations: 62.59 kB / 0.6643 GB, free: 13.74 MB / 474.7 MB Notification: Performance of SimCode: time 2.51e-07/0.6622, allocations: 4 kB / 0.6643 GB, free: 13.74 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02621/0.6884, allocations: 3.04 MB / 0.6673 GB, free: 10.73 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002246/0.6887, allocations: 171.2 kB / 0.6675 GB, free: 10.54 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.664/2.353, allocations: 0.9375 kB / 0.6675 GB, free: 10.54 MB / 474.7 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/linux/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)