Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008071/0.0008071, 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.001258/0.001258, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9037/0.9037, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7252/0.7252, allocations: 154.6 MB / 413.7 MB, free: 0.8164 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.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997,fileNamePrefix="IDEAS_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_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.403e-06/1.403e-06, allocations: 0 / 0.6181 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.135e-05/2.275e-05, allocations: 2.281 kB / 0.6181 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997): time 0.002567/0.002589, allocations: 1.852 MB / 0.6199 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0007212/0.003311, allocations: 0.5023 MB / 0.6204 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.776e-05/0.003378, allocations: 8 kB / 0.6204 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 4.604e-05/0.003424, allocations: 15.8 kB / 0.6205 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.0003508/0.003775, allocations: 99.34 kB / 0.6206 GB, free: 10.06 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 5.519e-05/0.00383, allocations: 39.95 kB / 0.6206 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0001216/0.003952, allocations: 131.7 kB / 0.6207 GB, free: 9.895 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002303/0.004182, allocations: 108.4 kB / 0.6208 GB, free: 9.785 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 8.917e-05/0.004271, allocations: 83.86 kB / 0.6209 GB, free: 9.703 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 5.232e-05/0.004324, allocations: 39.83 kB / 0.6209 GB, free: 9.664 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 2.432e-05/0.004348, allocations: 20 kB / 0.621 GB, free: 9.645 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000152/0.0045, allocations: 95.86 kB / 0.6211 GB, free: 9.551 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 2.552e-05/0.004526, allocations: 35.84 kB / 0.6211 GB, free: 9.516 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 4.001e-05/0.004566, allocations: 47.89 kB / 0.6211 GB, free: 9.469 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0002739/0.004839, allocations: 267.1 kB / 0.6214 GB, free: 9.207 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.004844, allocations: 0 / 0.6214 GB, free: 9.207 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.313e-06/0.004845, allocations: 0 / 0.6214 GB, free: 9.207 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.00485, allocations: 0 / 0.6214 GB, free: 9.207 MB / 0.5417 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.0004721/0.005323, allocations: 389.5 kB / 0.6218 GB, free: 8.793 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.005366, allocations: 12.03 kB / 0.6218 GB, free: 8.781 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.445e-05/0.00544, allocations: 58.69 kB / 0.6218 GB, free: 8.715 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.447e-05/0.005475, allocations: 16.84 kB / 0.6218 GB, free: 8.699 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.005648, allocations: 152.8 kB / 0.622 GB, free: 8.527 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.005665, allocations: 16.38 kB / 0.622 GB, free: 8.512 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/0.005682, allocations: 16.38 kB / 0.622 GB, free: 8.496 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002303/0.005912, allocations: 162.1 kB / 0.6222 GB, free: 8.332 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.00592, allocations: 4.125 kB / 0.6222 GB, free: 8.328 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.005933, allocations: 4.375 kB / 0.6222 GB, free: 8.324 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.005941, allocations: 8.125 kB / 0.6222 GB, free: 8.316 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001743/0.006115, allocations: 115.9 kB / 0.6223 GB, free: 8.203 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005338/0.006649, allocations: 464.4 kB / 0.6227 GB, free: 7.703 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.006766, allocations: 54.55 kB / 0.6228 GB, free: 7.641 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.372e-05/0.00682, allocations: 32.88 kB / 0.6228 GB, free: 7.605 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001625/0.006982, allocations: 31.97 kB / 0.6229 GB, free: 7.574 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.007001, allocations: 34.56 kB / 0.6229 GB, free: 7.531 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=5): time 1.724e-06/0.007002, allocations: 0 / 0.6229 GB, free: 7.531 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5): time 0.0002555/0.007258, allocations: 109.5 kB / 0.623 GB, free: 7.418 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/0.007287, allocations: 51.41 kB / 0.623 GB, free: 7.355 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.952e-05/0.007376, allocations: 149.5 kB / 0.6232 GB, free: 7.199 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.007388, allocations: 29.64 kB / 0.6232 GB, free: 7.164 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.806e-05/0.007456, allocations: 139.7 kB / 0.6233 GB, free: 7.023 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.284e-05/0.007469, allocations: 27.78 kB / 0.6234 GB, free: 6.996 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.211e-05/0.007501, allocations: 21.72 kB / 0.6234 GB, free: 6.969 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.76e-05/0.007588, allocations: 318.8 kB / 0.6237 GB, free: 6.648 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.241e-05/0.007641, allocations: 27.92 kB / 0.6237 GB, free: 6.621 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.21e-05/0.007703, allocations: 51.41 kB / 0.6238 GB, free: 6.559 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001057/0.007809, allocations: 79.33 kB / 0.6238 GB, free: 6.469 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.007811, allocations: 0 / 0.6238 GB, free: 6.469 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001826/0.007994, allocations: 105.8 kB / 0.6239 GB, free: 6.359 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.008007, allocations: 10.34 kB / 0.624 GB, free: 6.352 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.008012, allocations: 64 / 0.624 GB, free: 6.352 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.008026, allocations: 7.938 kB / 0.624 GB, free: 6.344 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.917e-05/0.008096, allocations: 19.98 kB / 0.624 GB, free: 6.324 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.008102, allocations: 4.031 kB / 0.624 GB, free: 6.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.906e-05/0.008141, allocations: 19.97 kB / 0.624 GB, free: 6.301 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.148e-06/0.008151, allocations: 8 kB / 0.624 GB, free: 6.293 MB / 0.5417 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 6.835e-05/0.008219, allocations: 118.8 kB / 0.6241 GB, free: 6.168 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.499e-05/0.008234, allocations: 7.953 kB / 0.6241 GB, free: 6.16 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000173/0.008407, allocations: 105 kB / 0.6242 GB, free: 6.051 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.00841, allocations: 3.938 kB / 0.6242 GB, free: 6.047 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.008414, allocations: 4 kB / 0.6242 GB, free: 6.043 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.008418, allocations: 3.984 kB / 0.6242 GB, free: 6.039 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001475/0.008566, allocations: 180.7 kB / 0.6244 GB, free: 5.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.008568, allocations: 3.984 kB / 0.6244 GB, free: 5.816 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.418e-05/0.008602, allocations: 11.94 kB / 0.6244 GB, free: 5.805 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.008605, allocations: 4 kB / 0.6244 GB, free: 5.801 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.008611, allocations: 0 / 0.6244 GB, free: 5.801 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.008614, allocations: 7.922 kB / 0.6244 GB, free: 5.793 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.008615, allocations: 0 / 0.6244 GB, free: 5.793 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001436/0.008759, allocations: 183.5 kB / 0.6246 GB, free: 5.598 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 1.231e-05/0.008771, allocations: 11.95 kB / 0.6246 GB, free: 5.586 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.068e-05/0.008782, allocations: 0 / 0.6246 GB, free: 5.586 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.882e-05/0.008831, allocations: 11.92 kB / 0.6246 GB, free: 5.574 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.154e-05/0.008862, allocations: 0 / 0.6246 GB, free: 5.574 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.008868, allocations: 7.984 kB / 0.6247 GB, free: 5.566 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001098/0.008978, allocations: 107.3 kB / 0.6248 GB, free: 5.461 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5e-08/0.008978, allocations: 3.938 kB / 0.6248 GB, free: 5.457 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002121/0.00919, allocations: 47.77 kB / 0.6248 GB, free: 5.41 MB / 0.5417 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.0004941/0.009684, allocations: 0.8021 MB / 0.6256 GB, free: 4.582 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001496/0.009834, allocations: 63.89 kB / 0.6256 GB, free: 4.52 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.009835, allocations: 0 / 0.6256 GB, free: 4.52 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.72e-05/0.009883, allocations: 27.92 kB / 0.6257 GB, free: 4.492 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.01015, allocations: 20.11 kB / 0.6257 GB, free: 4.473 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.01146, allocations: 1.588 MB / 0.6272 GB, free: 2.781 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.694e-05/0.01153, allocations: 102.9 kB / 0.6273 GB, free: 2.66 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.129e-05/0.01157, allocations: 8.734 kB / 0.6274 GB, free: 2.652 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.469e-05/0.01162, allocations: 40.48 kB / 0.6274 GB, free: 2.613 MB / 0.5417 GB Notification: Performance of SimCode: time 8.32e-07/0.01162, allocations: 0 / 0.6274 GB, free: 2.613 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01895/0.03057, allocations: 3.4 MB / 0.6307 GB, free: 15.45 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.181/7.211, allocations: 6 kB / 0.6307 GB, free: 15.45 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_HeatPumps_ModularReversible_RefrigerantCycle_Frosting_Validation_WetterAfjei1997.fmu > IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.955549528822303] Failed to read output from testmodel.py, exit status != 0: 7.292722960934043 7.306886199 7.299533096 Calling exit ...