Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997.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.001042/0.001042, 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.00146/0.00146, 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.8835/0.8835, 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 master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7062/0.7062, allocations: 154.5 MB / 413.7 MB, free: 0.8281 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_ModularReversible_RefrigerantCycle_Frosting_Validation_WetterAfjei1997",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_ModularReversible_RefrigerantCycle_Frosting_Validation_WetterAfjei1997",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.022e-05/2.199e-05, allocations: 5.234 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997): time 0.002518/0.00254, allocations: 1.837 MB / 0.6199 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007879/0.003328, allocations: 0.5101 MB / 0.6204 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.711e-05/0.003395, allocations: 0 / 0.6204 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 4.675e-05/0.003442, allocations: 19.8 kB / 0.6204 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0003592/0.003801, allocations: 99.34 kB / 0.6205 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 6.126e-05/0.003862, allocations: 35.97 kB / 0.6205 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.00398, allocations: 127.7 kB / 0.6207 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002053/0.004185, allocations: 92.52 kB / 0.6207 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.003e-05/0.004275, allocations: 83.81 kB / 0.6208 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.423e-05/0.004329, allocations: 47.81 kB / 0.6209 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.285e-05/0.004352, allocations: 16 kB / 0.6209 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.004495, allocations: 99.84 kB / 0.621 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.333e-05/0.004518, allocations: 31.91 kB / 0.621 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.661e-05/0.004555, allocations: 51.84 kB / 0.6211 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002647/0.004819, allocations: 263.2 kB / 0.6213 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.004822, allocations: 0 / 0.6213 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.12e-07/0.004823, allocations: 0 / 0.6213 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.004827, allocations: 0 / 0.6213 GB, free: 10.36 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0004397/0.005267, allocations: 393.4 kB / 0.6217 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.005305, allocations: 13.47 kB / 0.6217 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.998e-05/0.005375, allocations: 58.72 kB / 0.6218 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.001e-05/0.005405, allocations: 20.84 kB / 0.6218 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.005571, allocations: 149.5 kB / 0.6219 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.005589, allocations: 16.38 kB / 0.6219 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/0.005606, allocations: 16.38 kB / 0.6219 GB, free: 9.645 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002358/0.005842, allocations: 162.1 kB / 0.6221 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.005852, allocations: 4.188 kB / 0.6221 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.005866, allocations: 4.375 kB / 0.6221 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.005874, allocations: 12.12 kB / 0.6221 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000168/0.006042, allocations: 111.9 kB / 0.6222 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005979/0.00664, allocations: 464.4 kB / 0.6227 GB, free: 8.852 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.006763, allocations: 58.55 kB / 0.6227 GB, free: 8.785 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.472e-05/0.006817, allocations: 28.92 kB / 0.6228 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001661/0.006983, allocations: 31.97 kB / 0.6228 GB, free: 8.723 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.00701, allocations: 42.5 kB / 0.6228 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 1.623e-06/0.007011, allocations: 0 / 0.6228 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5): time 0.0002708/0.007282, allocations: 105.5 kB / 0.6229 GB, free: 8.562 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.007314, allocations: 51.41 kB / 0.623 GB, free: 8.5 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.741e-05/0.007412, allocations: 143.7 kB / 0.6231 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.007425, allocations: 29.64 kB / 0.6231 GB, free: 8.316 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.645e-05/0.007502, allocations: 144.1 kB / 0.6233 GB, free: 8.172 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.568e-05/0.007517, allocations: 27.78 kB / 0.6233 GB, free: 8.145 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-05/0.007551, allocations: 17.72 kB / 0.6233 GB, free: 8.121 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.802e-05/0.007649, allocations: 322.8 kB / 0.6236 GB, free: 7.797 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.764e-05/0.007707, allocations: 19.98 kB / 0.6236 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.753e-05/0.007774, allocations: 55.34 kB / 0.6237 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.00789, allocations: 75.41 kB / 0.6238 GB, free: 7.625 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.007892, allocations: 3.938 kB / 0.6238 GB, free: 7.621 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001458/0.008038, allocations: 109.5 kB / 0.6239 GB, free: 7.508 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.00805, allocations: 8 kB / 0.6239 GB, free: 7.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.008055, allocations: 0 / 0.6239 GB, free: 7.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.008067, allocations: 4.25 kB / 0.6239 GB, free: 7.496 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.283e-05/0.00814, allocations: 24.08 kB / 0.6239 GB, free: 7.473 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.008145, allocations: 0 / 0.6239 GB, free: 7.473 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.36e-05/0.008189, allocations: 27.88 kB / 0.6239 GB, free: 7.445 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.008197, allocations: 4 kB / 0.6239 GB, free: 7.441 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.316e-05/0.00827, allocations: 122.8 kB / 0.6241 GB, free: 7.312 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.578e-05/0.008286, allocations: 7.953 kB / 0.6241 GB, free: 7.305 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001637/0.008449, allocations: 96.78 kB / 0.6242 GB, free: 7.207 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.008453, allocations: 11.94 kB / 0.6242 GB, free: 7.195 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.008457, allocations: 0 / 0.6242 GB, free: 7.195 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.00846, allocations: 0 / 0.6242 GB, free: 7.195 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000148/0.008607, allocations: 180.7 kB / 0.6243 GB, free: 6.977 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.008608, allocations: 0 / 0.6243 GB, free: 6.977 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.499e-05/0.008643, allocations: 11.98 kB / 0.6244 GB, free: 6.965 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.008646, allocations: 0 / 0.6244 GB, free: 6.965 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.008654, allocations: 4 kB / 0.6244 GB, free: 6.961 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.008657, allocations: 3.938 kB / 0.6244 GB, free: 6.957 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.008658, allocations: 3.938 kB / 0.6244 GB, free: 6.953 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001514/0.008809, allocations: 191.5 kB / 0.6246 GB, free: 6.75 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.047e-05/0.00882, allocations: 3.953 kB / 0.6246 GB, free: 6.746 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.152e-05/0.008831, allocations: 4 kB / 0.6246 GB, free: 6.742 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.484e-05/0.008876, allocations: 11.92 kB / 0.6246 GB, free: 6.73 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.155e-05/0.008908, allocations: 0 / 0.6246 GB, free: 6.73 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.008911, allocations: 4 kB / 0.6246 GB, free: 6.727 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.996e-05/0.008961, allocations: 113.6 kB / 0.6247 GB, free: 6.617 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.008961, allocations: 0 / 0.6247 GB, free: 6.617 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001964/0.009158, allocations: 47.77 kB / 0.6247 GB, free: 6.57 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0005159/0.009674, allocations: 0.7982 MB / 0.6255 GB, free: 5.742 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001564/0.00983, allocations: 67.89 kB / 0.6256 GB, free: 5.676 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.009832, allocations: 0 / 0.6256 GB, free: 5.676 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.951e-05/0.009881, allocations: 36.09 kB / 0.6256 GB, free: 5.641 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/0.01011, allocations: 11.94 kB / 0.6256 GB, free: 5.629 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.01133, allocations: 1.591 MB / 0.6272 GB, free: 3.941 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.597e-05/0.0114, allocations: 106.9 kB / 0.6273 GB, free: 3.816 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.877e-05/0.01143, allocations: 8.734 kB / 0.6273 GB, free: 3.809 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.32e-05/0.01149, allocations: 44.48 kB / 0.6273 GB, free: 3.762 MB / 0.5886 GB Notification: Performance of SimCode: time 8.02e-07/0.01149, allocations: 0 / 0.6273 GB, free: 3.762 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01713/0.02861, allocations: 3.386 MB / 0.6306 GB, free: 0.6133 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.985/7.014, allocations: 5.359 kB / 0.6306 GB, free: 0.6094 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997_res.csv --start-time 0 --stop-time 35 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 1 IDEAS_dev_IDEAS_Fluid_HeatPumps_ModularReversible_RefrigerantCycle_Frosting_Validation_WetterAfjei1997.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.747071868740022] Failed to read output from testmodel.py, exit status != 0: 7.095717038959265 7.10603757 7.098530206 Calling exit ...