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.004774/0.004774, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.00128/0.00128, allocations: 199.1 kB / 16.68 MB, free: 5.977 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9423/0.9423, allocations: 135.6 MB / 426.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 63.89 kB / 0.5858 GB, free: 3.191 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3774/0.3793, allocations: 81.02 MB / 0.6649 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002643/0.382, allocations: 2.023 MB / 0.6669 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007751/0.3828, allocations: 0.5715 MB / 0.6674 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.783e-05/0.3828, allocations: 5.469 kB / 0.6674 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001051/0.383, allocations: 25.17 kB / 0.6674 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.14e-05/0.383, allocations: 31.03 kB / 0.6675 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002531/0.3833, allocations: 86.2 kB / 0.6676 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001768/0.3835, allocations: 227.5 kB / 0.6678 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001842/0.3837, allocations: 111.7 kB / 0.6679 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.3838, allocations: 95.8 kB / 0.668 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.887e-05/0.3839, allocations: 105.4 kB / 0.6681 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.657e-05/0.3839, allocations: 24.62 kB / 0.6681 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.309e-05/0.384, allocations: 28.59 kB / 0.6681 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.259e-05/0.3841, allocations: 50.62 kB / 0.6682 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.382e-05/0.3841, allocations: 105.1 kB / 0.6683 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002425/0.3844, allocations: 285.3 kB / 0.6685 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3844, allocations: 4 kB / 0.6686 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3844, allocations: 0 / 0.6686 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.3844, allocations: 1.438 kB / 0.6686 GB, free: 3.992 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.000609/0.385, allocations: 0.5197 MB / 0.6691 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.3851, allocations: 13.78 kB / 0.6691 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.917e-05/0.3851, allocations: 52.61 kB / 0.6691 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.811e-05/0.3852, allocations: 26.02 kB / 0.6691 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.3854, allocations: 256.2 kB / 0.6694 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.3854, allocations: 15.31 kB / 0.6694 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.3855, allocations: 19.31 kB / 0.6694 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003345/0.3858, allocations: 220.3 kB / 0.6696 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.3858, allocations: 1.25 kB / 0.6696 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.843e-05/0.3859, allocations: 17.34 kB / 0.6697 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.3859, allocations: 3.75 kB / 0.6697 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002828/0.3861, allocations: 148.5 kB / 0.6698 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000748/0.3869, allocations: 0.5867 MB / 0.6704 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003298/0.3872, allocations: 123.2 kB / 0.6705 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.3874, allocations: 48.75 kB / 0.6705 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.871e-05/0.3874, allocations: 6.297 kB / 0.6705 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.551e-05/0.3874, allocations: 44.03 kB / 0.6706 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.273e-06/0.3874, allocations: 0 / 0.6706 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0004237/0.3879, allocations: 170.2 kB / 0.6707 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.3879, allocations: 129.9 kB / 0.6709 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.3881, allocations: 208.2 kB / 0.6711 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.3881, allocations: 36.33 kB / 0.6711 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.747e-05/0.3882, allocations: 147.1 kB / 0.6712 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/0.3882, allocations: 36.55 kB / 0.6713 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.737e-05/0.3883, allocations: 34.39 kB / 0.6713 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.135e-05/0.3883, allocations: 330.8 kB / 0.6716 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.3884, allocations: 47.77 kB / 0.6717 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.3886, allocations: 82.7 kB / 0.6718 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001872/0.3888, allocations: 91.91 kB / 0.6718 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3888, allocations: 0 / 0.6718 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002717/0.389, allocations: 158.1 kB / 0.672 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.3891, allocations: 9.438 kB / 0.672 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3891, allocations: 0 / 0.672 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.3891, allocations: 1.094 kB / 0.672 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.3892, allocations: 24.95 kB / 0.672 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.3892, allocations: 5.031 kB / 0.672 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.3894, allocations: 29.3 kB / 0.6721 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.3894, allocations: 3.906 kB / 0.6721 GB, free: 0.9961 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 9.309e-05/0.3895, allocations: 136.8 kB / 0.6722 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.14e-05/0.3895, allocations: 21.28 kB / 0.6722 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003126/0.3898, allocations: 150.4 kB / 0.6724 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.3899, allocations: 1.125 kB / 0.6724 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.3899, allocations: 1.219 kB / 0.6724 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3899, allocations: 0 / 0.6724 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002129/0.3901, allocations: 276.2 kB / 0.6726 GB, free: 488 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3901, allocations: 5.062 kB / 0.6726 GB, free: 484 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.998e-05/0.3902, allocations: 14.42 kB / 0.6726 GB, free: 480 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3902, allocations: 4.969 kB / 0.6726 GB, free: 476 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.3902, allocations: 1.188 kB / 0.6726 GB, free: 476 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.3902, allocations: 4.812 kB / 0.6726 GB, free: 472 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3902, allocations: 0 / 0.6726 GB, free: 472 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002726/0.3905, allocations: 233.9 kB / 0.6729 GB, free: 280 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.05e-05/0.3905, allocations: 92.58 kB / 0.673 GB, free: 172 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.216e-05/0.3906, allocations: 10.39 kB / 0.673 GB, free: 164 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.3907, allocations: 19.7 kB / 0.673 GB, free: 156 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.72e-05/0.3908, allocations: 29.89 kB / 0.673 GB, free: 136 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.3908, allocations: 7.031 kB / 0.673 GB, free: 132 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.096e-05/0.3909, allocations: 153.2 kB / 0.6732 GB, free: 16 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3909, allocations: 0 / 0.6732 GB, free: 16 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002607/0.3912, allocations: 40.55 kB / 0.6732 GB, free: 4 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.0006838/0.3919, allocations: 0.7781 MB / 0.674 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003008/0.3922, allocations: 110.5 kB / 0.6741 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3922, allocations: 0 / 0.6741 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001287/0.3923, allocations: 55.42 kB / 0.6741 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.3927, allocations: 19.67 kB / 0.6741 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002406/0.3951, allocations: 1.994 MB / 0.6761 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.3954, allocations: 0.733 MB / 0.6768 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.142e-05/0.3955, allocations: 19.73 kB / 0.6768 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.3957, allocations: 69.5 kB / 0.6769 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of SimCode: time 2.61e-07/0.3957, allocations: 0 / 0.6769 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02406/0.4197, allocations: 3.99 MB / 0.6808 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.669/8.089, allocations: 9.297 kB / 0.6808 GB, free: 10.84 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)