Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.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.0008986/0.0008986, 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.0009804/0.0009804, allocations: 165.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.8945/0.8945, allocations: 177.2 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.7084/0.7084, allocations: 154.6 MB / 413.8 MB, free: 0.8086 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.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss,fileNamePrefix="IDEAS_IDEAS_Fluid_PVTCollectors_BaseClasses_Examples_ISO9806HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss,fileNamePrefix="IDEAS_IDEAS_Fluid_PVTCollectors_BaseClasses_Examples_ISO9806HeatLoss",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.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.443e-05/2.62e-05, allocations: 5.094 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss): time 0.004046/0.004072, allocations: 2.214 MB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.006848/0.01092, allocations: 4.566 MB / 0.6247 GB, free: 6.824 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002653/0.01118, allocations: 0 / 0.6247 GB, free: 6.824 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001165/0.01235, allocations: 235.9 kB / 0.6249 GB, free: 6.594 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0003465/0.0127, allocations: 147 kB / 0.6251 GB, free: 6.449 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001914/0.01289, allocations: 71.88 kB / 0.6252 GB, free: 6.379 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.000788/0.01368, allocations: 422.2 kB / 0.6256 GB, free: 5.965 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001919/0.01387, allocations: 73.97 kB / 0.6256 GB, free: 5.891 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002448/0.01411, allocations: 195.4 kB / 0.6258 GB, free: 5.699 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.01426, allocations: 119.7 kB / 0.6259 GB, free: 5.582 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.752e-05/0.01429, allocations: 16 kB / 0.6259 GB, free: 5.566 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.86e-05/0.01438, allocations: 35.98 kB / 0.626 GB, free: 5.531 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.733e-05/0.01446, allocations: 99.61 kB / 0.6261 GB, free: 5.434 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 8.188e-05/0.01454, allocations: 99.69 kB / 0.6262 GB, free: 5.336 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003613/0.0149, allocations: 326.7 kB / 0.6265 GB, free: 5.016 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.01491, allocations: 3.984 kB / 0.6265 GB, free: 5.012 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.914e-06/0.01491, allocations: 0 / 0.6265 GB, free: 5.012 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.01491, allocations: 0 / 0.6265 GB, free: 5.012 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.0008851/0.0158, allocations: 0.617 MB / 0.6271 GB, free: 4.363 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.01585, allocations: 12.03 kB / 0.6271 GB, free: 4.352 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.215e-05/0.01594, allocations: 58.67 kB / 0.6272 GB, free: 4.285 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002692/0.01621, allocations: 91.61 kB / 0.6272 GB, free: 4.195 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004779/0.01669, allocations: 279.3 kB / 0.6275 GB, free: 3.898 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.0167, allocations: 11.86 kB / 0.6275 GB, free: 3.887 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/0.01673, allocations: 15.98 kB / 0.6275 GB, free: 3.871 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004212/0.01715, allocations: 296.4 kB / 0.6278 GB, free: 3.578 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.01716, allocations: 0 / 0.6278 GB, free: 3.578 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.043e-05/0.01718, allocations: 7.984 kB / 0.6278 GB, free: 3.57 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.056e-05/0.01721, allocations: 24.48 kB / 0.6278 GB, free: 3.547 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004874/0.0177, allocations: 313.7 kB / 0.6281 GB, free: 3.238 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009472/0.01864, allocations: 0.7007 MB / 0.6288 GB, free: 2.496 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004323/0.01908, allocations: 286.4 kB / 0.6291 GB, free: 2.207 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002313/0.01931, allocations: 176.6 kB / 0.6293 GB, free: 2.031 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.01933, allocations: 4 kB / 0.6293 GB, free: 2.027 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.01935, allocations: 30.97 kB / 0.6293 GB, free: 1.988 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=23): time 1.483e-06/0.01935, allocations: 4 kB / 0.6293 GB, free: 1.984 MB / 0.5886 GB Notification: Performance of matching and sorting (n=23): time 0.000759/0.02011, allocations: 0.4923 MB / 0.6298 GB, free: 1.488 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.02015, allocations: 51.41 kB / 0.6298 GB, free: 1.426 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.02037, allocations: 325.7 kB / 0.6302 GB, free: 1.102 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.02039, allocations: 29.7 kB / 0.6302 GB, free: 1.066 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.0205, allocations: 200.4 kB / 0.6304 GB, free: 0.8672 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.589e-05/0.02055, allocations: 75.34 kB / 0.6304 GB, free: 0.793 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.111e-05/0.02062, allocations: 49.62 kB / 0.6305 GB, free: 0.7383 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.693e-05/0.02072, allocations: 346.8 kB / 0.6308 GB, free: 400 kB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000209/0.02093, allocations: 131.9 kB / 0.6309 GB, free: 268 kB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000218/0.02115, allocations: 162 kB / 0.6311 GB, free: 100 kB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004417/0.02159, allocations: 309.8 kB / 0.6314 GB, free: 15.79 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.02159, allocations: 0 / 0.6314 GB, free: 15.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.00051/0.0221, allocations: 373 kB / 0.6318 GB, free: 15.42 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.02212, allocations: 4 kB / 0.6318 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/0.02213, allocations: 4 kB / 0.6318 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.02215, allocations: 0 / 0.6318 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002273/0.02237, allocations: 67.88 kB / 0.6318 GB, free: 15.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.02238, allocations: 0 / 0.6318 GB, free: 15.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001306/0.02251, allocations: 43.88 kB / 0.6319 GB, free: 15.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.02253, allocations: 4 kB / 0.6319 GB, free: 15.3 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (25): * Single equations (assignments): 25 * 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.0001366/0.02266, allocations: 158.7 kB / 0.632 GB, free: 15.13 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.831e-05/0.0227, allocations: 35.75 kB / 0.6321 GB, free: 15.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.684e-05/0.02276, allocations: 51.41 kB / 0.6321 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.02276, allocations: 4 kB / 0.6321 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.02277, allocations: 0 / 0.6321 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.02277, allocations: 0 / 0.6321 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/0.02389, allocations: 0.8058 MB / 0.6329 GB, free: 14.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.0239, allocations: 4 kB / 0.6329 GB, free: 14.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001582/0.02405, allocations: 55.95 kB / 0.633 GB, free: 14.13 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.02406, allocations: 3.984 kB / 0.633 GB, free: 14.12 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.02407, allocations: 8 kB / 0.633 GB, free: 14.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.02408, allocations: 0 / 0.633 GB, free: 14.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.02408, allocations: 0 / 0.633 GB, free: 14.12 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005126/0.02459, allocations: 471.1 kB / 0.6334 GB, free: 13.64 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.806e-05/0.02468, allocations: 67.66 kB / 0.6335 GB, free: 13.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.685e-05/0.02471, allocations: 4 kB / 0.6335 GB, free: 13.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.02483, allocations: 19.97 kB / 0.6335 GB, free: 13.55 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.986e-05/0.02489, allocations: 23.84 kB / 0.6335 GB, free: 13.53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.0249, allocations: 11.98 kB / 0.6335 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001408/0.02504, allocations: 235.2 kB / 0.6338 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4e-08/0.02504, allocations: 0 / 0.6338 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000241/0.02528, allocations: 75.83 kB / 0.6338 GB, free: 13.21 MB / 0.6042 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 (23): * Single equations (assignments): 23 * 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.00104/0.02632, allocations: 1.204 MB / 0.635 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004867/0.02681, allocations: 315.2 kB / 0.6353 GB, free: 11.68 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.02681, allocations: 0 / 0.6353 GB, free: 11.68 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002156/0.02702, allocations: 159.8 kB / 0.6355 GB, free: 11.52 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/0.02741, allocations: 87.48 kB / 0.6355 GB, free: 11.44 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003279/0.03068, allocations: 3.406 MB / 0.6389 GB, free: 7.934 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001369/0.03082, allocations: 199.7 kB / 0.6391 GB, free: 7.719 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000222/0.03104, allocations: 102.1 kB / 0.6392 GB, free: 7.621 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.03118, allocations: 112.5 kB / 0.6393 GB, free: 7.512 MB / 0.6042 GB Notification: Performance of SimCode: time 1.533e-06/0.03118, allocations: 0 / 0.6393 GB, free: 7.512 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02235/0.05354, allocations: 8.834 MB / 0.6479 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.924/6.977, allocations: 7.922 kB / 0.6479 GB, free: 14.94 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.pipe ; mkfifo IDEAS_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.pipe >> ../files/IDEAS_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 60 IDEAS_IDEAS_Fluid_PVTCollectors_BaseClasses_Examples_ISO9806HeatLoss.fmu > IDEAS_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.787125601433218] Failed to read output from testmodel.py, exit status != 0: 7.0596934501081705 7.073198714 7.055178046 Calling exit ...