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.0008945/0.0008945, allocations: 101.5 kB / 18.95 MB, free: 1.188 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.001548/0.001548, allocations: 212 kB / 22.25 MB, free: 3.578 MB / 13.93 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 1.011/1.011, allocations: 230.6 MB / 256 MB, free: 9.613 MB / 202.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.7719/0.7719, allocations: 203.5 MB / 0.5039 GB, free: 10.73 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001072/0.001072, allocations: 65.33 kB / 0.7178 GB, free: 4.391 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5063/0.5074, allocations: 102 MB / 0.8174 GB, free: 1.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss): time 0.00254/0.5099, allocations: 2.216 MB / 0.8195 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004044/0.514, allocations: 4.59 MB / 0.824 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.5141, allocations: 5.375 kB / 0.824 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007899/0.5149, allocations: 237.5 kB / 0.8243 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002182/0.5151, allocations: 143.1 kB / 0.8244 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001131/0.5152, allocations: 70.89 kB / 0.8245 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004902/0.5157, allocations: 400.6 kB / 0.8248 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.5158, allocations: 66.75 kB / 0.8249 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.516, allocations: 151.7 kB / 0.8251 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001733/0.5162, allocations: 142.7 kB / 0.8252 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.084e-05/0.5162, allocations: 15.84 kB / 0.8252 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.296e-05/0.5163, allocations: 41.2 kB / 0.8252 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.833e-05/0.5164, allocations: 92.91 kB / 0.8253 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.5165, allocations: 119.5 kB / 0.8254 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003319/0.5168, allocations: 344.2 kB / 0.8258 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.5168, allocations: 0.6094 kB / 0.8258 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.634e-06/0.5168, allocations: 0 / 0.8258 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.892e-06/0.5168, allocations: 0 / 0.8258 GB, free: 11.8 MB / 0.6198 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.0008811/0.5177, allocations: 0.614 MB / 0.8264 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.5178, allocations: 9.188 kB / 0.8264 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.51e-05/0.5178, allocations: 63.98 kB / 0.8264 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002678/0.5181, allocations: 90.91 kB / 0.8265 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004299/0.5185, allocations: 281.8 kB / 0.8268 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.5186, allocations: 6.25 kB / 0.8268 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.5186, allocations: 15.11 kB / 0.8268 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004433/0.519, allocations: 301.5 kB / 0.8271 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.519, allocations: 0 / 0.8271 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.144e-05/0.5191, allocations: 9.375 kB / 0.8271 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.165e-05/0.5191, allocations: 22.23 kB / 0.8271 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005231/0.5196, allocations: 313.4 kB / 0.8274 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.5207, allocations: 0.7004 MB / 0.8281 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004857/0.5212, allocations: 290.8 kB / 0.8284 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002727/0.5214, allocations: 171.8 kB / 0.8286 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.5215, allocations: 2.625 kB / 0.8286 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.5215, allocations: 33.47 kB / 0.8286 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=23): time 2.064e-06/0.5215, allocations: 3.984 kB / 0.8286 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.0008707/0.5223, allocations: 0.4907 MB / 0.8291 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.5224, allocations: 56.2 kB / 0.8291 GB, free: 9.996 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002527/0.5226, allocations: 323.1 kB / 0.8294 GB, free: 9.824 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.5227, allocations: 30.8 kB / 0.8295 GB, free: 9.789 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.5228, allocations: 190.5 kB / 0.8297 GB, free: 9.629 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.173e-05/0.5228, allocations: 75.66 kB / 0.8297 GB, free: 9.57 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.626e-05/0.5229, allocations: 51.22 kB / 0.8298 GB, free: 9.539 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.523, allocations: 345.5 kB / 0.8301 GB, free: 9.211 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003068/0.5233, allocations: 135.2 kB / 0.8302 GB, free: 9.176 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003236/0.5236, allocations: 167.6 kB / 0.8304 GB, free: 9.109 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000607/0.5243, allocations: 309.2 kB / 0.8307 GB, free: 8.996 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.5243, allocations: 0.5312 kB / 0.8307 GB, free: 8.996 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006936/0.5249, allocations: 374.1 kB / 0.831 GB, free: 8.859 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.525, allocations: 6.953 kB / 0.8311 GB, free: 8.859 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.525, allocations: 0 / 0.8311 GB, free: 8.859 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.525, allocations: 2.344 kB / 0.8311 GB, free: 8.859 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002693/0.5253, allocations: 71.27 kB / 0.8311 GB, free: 8.848 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.5253, allocations: 2.141 kB / 0.8311 GB, free: 8.848 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/0.5254, allocations: 31.22 kB / 0.8312 GB, free: 8.836 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/0.5254, allocations: 9.141 kB / 0.8312 GB, free: 8.836 MB / 0.6198 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.0001283/0.5255, allocations: 160.4 kB / 0.8313 GB, free: 8.699 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.316e-05/0.5256, allocations: 36.14 kB / 0.8313 GB, free: 8.68 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.186e-05/0.5257, allocations: 49.27 kB / 0.8314 GB, free: 8.648 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.5257, allocations: 2.281 kB / 0.8314 GB, free: 8.648 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.5257, allocations: 5.672 kB / 0.8314 GB, free: 8.645 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.5257, allocations: 0.8906 kB / 0.8314 GB, free: 8.645 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/0.5268, allocations: 0.8002 MB / 0.8322 GB, free: 8.199 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.5268, allocations: 0.5625 kB / 0.8322 GB, free: 8.199 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001841/0.527, allocations: 58.23 kB / 0.8322 GB, free: 8.195 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.527, allocations: 1.062 kB / 0.8322 GB, free: 8.195 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.087e-05/0.527, allocations: 8.516 kB / 0.8323 GB, free: 8.191 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.5271, allocations: 1.375 kB / 0.8323 GB, free: 8.191 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.5271, allocations: 4.688 kB / 0.8323 GB, free: 8.188 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007392/0.5278, allocations: 465.3 kB / 0.8327 GB, free: 7.953 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.5279, allocations: 61.27 kB / 0.8328 GB, free: 7.922 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.617e-05/0.5279, allocations: 11 kB / 0.8328 GB, free: 7.914 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.5281, allocations: 24.41 kB / 0.8328 GB, free: 7.906 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.686e-05/0.5282, allocations: 18.28 kB / 0.8328 GB, free: 7.902 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.101e-05/0.5282, allocations: 12.33 kB / 0.8328 GB, free: 7.898 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002552/0.5285, allocations: 231.3 kB / 0.833 GB, free: 7.777 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5285, allocations: 0 / 0.833 GB, free: 7.777 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002996/0.5288, allocations: 77.95 kB / 0.8331 GB, free: 7.762 MB / 0.6198 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.001393/0.5301, allocations: 1.203 MB / 0.8343 GB, free: 6.922 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005949/0.5307, allocations: 307.9 kB / 0.8346 GB, free: 6.848 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.5307, allocations: 1.219 kB / 0.8346 GB, free: 6.848 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002667/0.531, allocations: 162.5 kB / 0.8347 GB, free: 6.805 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004033/0.5314, allocations: 85.41 kB / 0.8348 GB, free: 6.773 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003865/0.5353, allocations: 3.44 MB / 0.8382 GB, free: 4.801 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/0.5355, allocations: 193.5 kB / 0.8384 GB, free: 4.715 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000323/0.5359, allocations: 103.1 kB / 0.8385 GB, free: 4.688 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001803/0.536, allocations: 112.7 kB / 0.8386 GB, free: 4.605 MB / 0.6198 GB Notification: Performance of SimCode: time 1.393e-06/0.536, allocations: 0 / 0.8386 GB, free: 4.605 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02548/0.5615, allocations: 8.74 MB / 0.8471 GB, free: 400 kB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.618/7.179, allocations: 9.844 kB / 0.8471 GB, free: 396 kB / 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: 10.225688945967704] Failed to read output from testmodel.py, exit status != 0: 7.260184689890593 7.272638375 6.753852432 Calling exit ...