Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007582/0.0007582, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007497/0.0007497, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8369/0.8369, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.6996/0.6996, allocations: 154.6 MB / 413.8 MB, free: 0.8008 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.765e-06/2.765e-06, allocations: 0 / 0.6181 GB, free: 13.54 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.186e-05/2.463e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.54 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002355/0.002379, allocations: 2.017 MB / 0.6201 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008897/0.003269, allocations: 0.6232 MB / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.411e-05/0.003363, allocations: 7.938 kB / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001151/0.003478, allocations: 23.72 kB / 0.6207 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.31e-05/0.003531, allocations: 35.61 kB / 0.6208 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003053/0.003837, allocations: 103.8 kB / 0.6209 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001944/0.004031, allocations: 236 kB / 0.6211 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001711/0.004202, allocations: 72.05 kB / 0.6212 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001987/0.004401, allocations: 151.5 kB / 0.6213 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.44e-05/0.004495, allocations: 75.78 kB / 0.6214 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.703e-05/0.004522, allocations: 24 kB / 0.6214 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.171e-05/0.004594, allocations: 28 kB / 0.6214 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.072e-05/0.004654, allocations: 59.75 kB / 0.6215 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.165e-05/0.004716, allocations: 71.81 kB / 0.6215 GB, free: 10 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000298/0.005014, allocations: 291 kB / 0.6218 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.005017, allocations: 4 kB / 0.6218 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.072e-06/0.005018, allocations: 0 / 0.6218 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.005023, allocations: 0 / 0.6218 GB, free: 9.715 MB / 0.5886 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.0008593/0.005883, allocations: 461.2 kB / 0.6223 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/0.005937, allocations: 8.031 kB / 0.6223 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.448e-05/0.005991, allocations: 58.67 kB / 0.6223 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002397/0.006231, allocations: 44.77 kB / 0.6224 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003437/0.006574, allocations: 205.3 kB / 0.6226 GB, free: 8.891 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.006593, allocations: 12.38 kB / 0.6226 GB, free: 8.879 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.006613, allocations: 16.38 kB / 0.6226 GB, free: 8.863 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003313/0.006944, allocations: 298.5 kB / 0.6229 GB, free: 8.535 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.006955, allocations: 192 / 0.6229 GB, free: 8.535 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/0.006974, allocations: 12.12 kB / 0.6229 GB, free: 8.523 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.006981, allocations: 4 kB / 0.6229 GB, free: 8.52 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002018/0.007182, allocations: 147.6 kB / 0.623 GB, free: 8.375 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007342/0.007917, allocations: 0.4992 MB / 0.6235 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002408/0.008157, allocations: 122.6 kB / 0.6236 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.768e-05/0.008225, allocations: 44.84 kB / 0.6237 GB, free: 7.656 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.008247, allocations: 8 kB / 0.6237 GB, free: 7.648 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.00827, allocations: 34.5 kB / 0.6237 GB, free: 7.605 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=10): time 1.183e-06/0.008271, allocations: 0 / 0.6237 GB, free: 7.605 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10): time 0.0003324/0.008604, allocations: 173.6 kB / 0.6239 GB, free: 7.43 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.33e-05/0.008667, allocations: 128.5 kB / 0.624 GB, free: 7.273 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.00883, allocations: 228.5 kB / 0.6242 GB, free: 7.043 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.008848, allocations: 25.7 kB / 0.6243 GB, free: 7.012 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 9.026e-05/0.008939, allocations: 144.5 kB / 0.6244 GB, free: 6.867 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.232e-05/0.008961, allocations: 39.73 kB / 0.6244 GB, free: 6.828 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.133e-05/0.009012, allocations: 37.7 kB / 0.6245 GB, free: 6.785 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.009117, allocations: 326.8 kB / 0.6248 GB, free: 6.457 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.482e-05/0.009192, allocations: 47.97 kB / 0.6248 GB, free: 6.41 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.009305, allocations: 169.3 kB / 0.625 GB, free: 6.211 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/0.009426, allocations: 81.69 kB / 0.6251 GB, free: 6.125 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.009428, allocations: 0 / 0.6251 GB, free: 6.125 MB / 0.5886 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001801/0.009608, allocations: 156.5 kB / 0.6252 GB, free: 5.969 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.009623, allocations: 4 kB / 0.6252 GB, free: 5.965 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.009628, allocations: 0 / 0.6252 GB, free: 5.965 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.009644, allocations: 4 kB / 0.6252 GB, free: 5.961 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.229e-05/0.009706, allocations: 19.98 kB / 0.6252 GB, free: 5.941 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.009713, allocations: 3.984 kB / 0.6252 GB, free: 5.938 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.05e-05/0.009784, allocations: 31.81 kB / 0.6253 GB, free: 5.906 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.009792, allocations: 0 / 0.6253 GB, free: 5.906 MB / 0.5886 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.0001006/0.009893, allocations: 146.8 kB / 0.6254 GB, free: 5.754 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.009917, allocations: 19.91 kB / 0.6254 GB, free: 5.734 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.983e-05/0.009947, allocations: 17.47 kB / 0.6254 GB, free: 5.715 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.009949, allocations: 0 / 0.6254 GB, free: 5.715 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/0.009956, allocations: 0 / 0.6254 GB, free: 5.715 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/0.009967, allocations: 7.922 kB / 0.6255 GB, free: 5.707 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001917/0.01016, allocations: 228.6 kB / 0.6257 GB, free: 5.441 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01016, allocations: 4.375 kB / 0.6257 GB, free: 5.438 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.921e-05/0.0102, allocations: 11.98 kB / 0.6257 GB, free: 5.426 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.0102, allocations: 4 kB / 0.6257 GB, free: 5.422 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.01021, allocations: 7.984 kB / 0.6257 GB, free: 5.414 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.01022, allocations: 3.938 kB / 0.6257 GB, free: 5.41 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.01022, allocations: 0 / 0.6257 GB, free: 5.41 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001973/0.01041, allocations: 223.3 kB / 0.6259 GB, free: 5.176 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.133e-05/0.01043, allocations: 27.83 kB / 0.6259 GB, free: 5.148 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.01046, allocations: 4 kB / 0.6259 GB, free: 5.145 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.001e-05/0.01053, allocations: 15.98 kB / 0.626 GB, free: 5.129 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.672e-05/0.01059, allocations: 35.88 kB / 0.626 GB, free: 5.094 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.373e-06/0.0106, allocations: 7.938 kB / 0.626 GB, free: 5.086 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 8.984e-05/0.01069, allocations: 156.6 kB / 0.6262 GB, free: 4.934 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.01069, allocations: 0 / 0.6262 GB, free: 4.934 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001852/0.01088, allocations: 39.89 kB / 0.6262 GB, free: 4.895 MB / 0.5886 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.0004114/0.01129, allocations: 0.7631 MB / 0.6269 GB, free: 4.105 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002012/0.01149, allocations: 107.9 kB / 0.627 GB, free: 4 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.01149, allocations: 0 / 0.627 GB, free: 4 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.853e-05/0.01156, allocations: 51.92 kB / 0.6271 GB, free: 3.949 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.01178, allocations: 31.48 kB / 0.6271 GB, free: 3.918 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.01348, allocations: 1.997 MB / 0.6291 GB, free: 1.84 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.447e-05/0.01356, allocations: 129.1 kB / 0.6292 GB, free: 1.691 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.113e-05/0.01362, allocations: 25.52 kB / 0.6292 GB, free: 1.664 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.825e-05/0.01371, allocations: 64.47 kB / 0.6293 GB, free: 1.602 MB / 0.5886 GB Notification: Performance of SimCode: time 8.81e-07/0.01371, allocations: 0 / 0.6293 GB, free: 1.602 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01705/0.03076, allocations: 4.799 MB / 0.634 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.733/6.764, allocations: 8.062 kB / 0.634 GB, free: 13.04 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.433360730297863] Failed to read output from testmodel.py, exit status != 0: 6.845742636360228 6.858325849 6.851003373 Calling exit ...