Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="IDEAS_dev_IDEAS_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.004968/0.004968, allocations: 102.5 kB / 15.73 MB, free: 6.484 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.001177/0.001177, allocations: 190.1 kB / 16.67 MB, free: 6.379 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9916/0.9916, allocations: 135.1 MB / 425.7 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 63.89 kB / 0.5852 GB, free: 3.828 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.43/0.4314, allocations: 80.91 MB / 0.6642 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002888/0.4344, allocations: 2.04 MB / 0.6662 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009238/0.4353, allocations: 0.5626 MB / 0.6667 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.772e-05/0.4354, allocations: 3.938 kB / 0.6667 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001214/0.4356, allocations: 23.67 kB / 0.6667 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.908e-05/0.4356, allocations: 39.41 kB / 0.6668 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002984/0.436, allocations: 81.62 kB / 0.6669 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002058/0.4362, allocations: 227.6 kB / 0.6671 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002118/0.4364, allocations: 117.7 kB / 0.6672 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.4365, allocations: 88.83 kB / 0.6673 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.4366, allocations: 104.9 kB / 0.6674 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.899e-05/0.4367, allocations: 24.56 kB / 0.6674 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.935e-05/0.4368, allocations: 36.95 kB / 0.6674 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.457e-05/0.4368, allocations: 47.25 kB / 0.6675 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.073e-05/0.4369, allocations: 105.3 kB / 0.6676 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002638/0.4372, allocations: 280 kB / 0.6678 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.4372, allocations: 0 / 0.6678 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.334e-06/0.4372, allocations: 0 / 0.6678 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.4372, allocations: 5.438 kB / 0.6678 GB, free: 4.367 MB / 0.4981 GB 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.0007158/0.4379, allocations: 0.5165 MB / 0.6683 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.438, allocations: 8.75 kB / 0.6684 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.446e-05/0.4381, allocations: 49.45 kB / 0.6684 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.913e-05/0.4381, allocations: 26.5 kB / 0.6684 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002791/0.4384, allocations: 262.3 kB / 0.6687 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.4384, allocations: 24 kB / 0.6687 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.845e-05/0.4385, allocations: 16.16 kB / 0.6687 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000419/0.4389, allocations: 220.1 kB / 0.6689 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.4389, allocations: 0 / 0.6689 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.153e-05/0.4389, allocations: 6.406 kB / 0.6689 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.839e-06/0.439, allocations: 3.594 kB / 0.6689 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002845/0.4392, allocations: 152.5 kB / 0.6691 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008136/0.4401, allocations: 0.5776 MB / 0.6696 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003491/0.4404, allocations: 128.8 kB / 0.6698 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.4406, allocations: 51.88 kB / 0.6698 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.11e-05/0.4406, allocations: 2.188 kB / 0.6698 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.4406, allocations: 35.97 kB / 0.6699 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.4406, allocations: 0 / 0.6699 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0004599/0.4411, allocations: 174.9 kB / 0.67 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.349e-05/0.4412, allocations: 130.2 kB / 0.6701 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.4414, allocations: 218 kB / 0.6704 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.4414, allocations: 32.27 kB / 0.6704 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.479e-05/0.4415, allocations: 135.5 kB / 0.6705 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.4415, allocations: 35.25 kB / 0.6705 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.83e-05/0.4416, allocations: 39.05 kB / 0.6706 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.283e-05/0.4417, allocations: 330.5 kB / 0.6709 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.4418, allocations: 48.59 kB / 0.6709 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.4419, allocations: 81.95 kB / 0.671 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001913/0.4421, allocations: 93.25 kB / 0.6711 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4421, allocations: 0 / 0.6711 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002883/0.4424, allocations: 153.9 kB / 0.6713 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.4425, allocations: 13.27 kB / 0.6713 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.4425, allocations: 1.844 kB / 0.6713 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.4425, allocations: 0 / 0.6713 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.4426, allocations: 20.67 kB / 0.6713 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.4426, allocations: 2.562 kB / 0.6713 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.4428, allocations: 29.52 kB / 0.6713 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/0.4428, allocations: 6.688 kB / 0.6713 GB, free: 1.387 MB / 0.4981 GB 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 0.0001026/0.4429, allocations: 135.2 kB / 0.6715 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.121e-05/0.4429, allocations: 21.09 kB / 0.6715 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003251/0.4433, allocations: 151.4 kB / 0.6716 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.4433, allocations: 5.562 kB / 0.6716 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.4433, allocations: 0 / 0.6716 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.4433, allocations: 3.984 kB / 0.6716 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002272/0.4435, allocations: 276.9 kB / 0.6719 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4435, allocations: 0 / 0.6719 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.4437, allocations: 19.73 kB / 0.6719 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.4437, allocations: 3.938 kB / 0.6719 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.4437, allocations: 1.656 kB / 0.6719 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.4437, allocations: 5.469 kB / 0.6719 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4437, allocations: 0 / 0.6719 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002765/0.444, allocations: 229 kB / 0.6721 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.693e-05/0.444, allocations: 96.45 kB / 0.6722 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.161e-05/0.4441, allocations: 2.594 kB / 0.6722 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.4442, allocations: 27.47 kB / 0.6723 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.904e-05/0.4443, allocations: 22.38 kB / 0.6723 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.4443, allocations: 10.3 kB / 0.6723 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.666e-05/0.4444, allocations: 150.3 kB / 0.6724 GB, free: 416 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4444, allocations: 0 / 0.6724 GB, free: 416 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002711/0.4447, allocations: 40.53 kB / 0.6725 GB, free: 404 kB / 0.4981 GB 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.0006106/0.4453, allocations: 0.7746 MB / 0.6732 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000317/0.4456, allocations: 112.2 kB / 0.6733 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4457, allocations: 0 / 0.6733 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.4458, allocations: 58.12 kB / 0.6734 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/0.4462, allocations: 17.12 kB / 0.6734 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002407/0.4486, allocations: 1.987 MB / 0.6754 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/0.449, allocations: 0.7294 MB / 0.6761 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.559e-05/0.4491, allocations: 20 kB / 0.6761 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.4492, allocations: 65.34 kB / 0.6761 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of SimCode: time 2.61e-07/0.4492, allocations: 0 / 0.6761 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02306/0.4723, allocations: 4.083 MB / 0.6801 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.723/8.195, allocations: 16.16 kB / 0.6802 GB, free: 11.17 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)