Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008742/0.0008742, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.000899/0.000899, allocations: 213.8 kB / 22.26 MB, free: 3.703 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 0.9749/0.9749, allocations: 230.6 MB / 256 MB, free: 9.82 MB / 202.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.7946/0.7946, allocations: 203.8 MB / 0.5042 GB, free: 10.75 MB / 410.7 MB " [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.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_PVTCollectors_BaseClasses_Examples_ISO9806HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss,fileNamePrefix="IDEAS_dev_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.0009262/0.0009262, allocations: 62.94 kB / 0.7182 GB, free: 4.379 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5187/0.5197, allocations: 102 MB / 0.8179 GB, free: 1.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss): time 0.002665/0.5223, allocations: 2.345 MB / 0.8202 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004282/0.5266, allocations: 4.999 MB / 0.825 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.5267, allocations: 10.31 kB / 0.825 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007703/0.5275, allocations: 251.7 kB / 0.8253 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002219/0.5277, allocations: 138.7 kB / 0.8254 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001156/0.5278, allocations: 76.52 kB / 0.8255 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005573/0.5284, allocations: 408.1 kB / 0.8259 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001822/0.5286, allocations: 62.92 kB / 0.8259 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001864/0.5288, allocations: 150.9 kB / 0.8261 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002013/0.529, allocations: 151.2 kB / 0.8262 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.857e-05/0.529, allocations: 16.28 kB / 0.8262 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.339e-05/0.5291, allocations: 38.98 kB / 0.8263 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.911e-05/0.5292, allocations: 96.58 kB / 0.8264 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001586/0.5293, allocations: 152.3 kB / 0.8265 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004327/0.5298, allocations: 347.5 kB / 0.8268 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.5298, allocations: 1 kB / 0.8269 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.844e-06/0.5298, allocations: 0 / 0.8269 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.5298, allocations: 0 / 0.8269 GB, free: 11.18 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.001166/0.531, allocations: 0.6134 MB / 0.8274 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.531, allocations: 10.5 kB / 0.8275 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.268e-05/0.5311, allocations: 63.14 kB / 0.8275 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007346/0.5318, allocations: 207.3 kB / 0.8277 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000489/0.5323, allocations: 281.9 kB / 0.828 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.5323, allocations: 10.69 kB / 0.828 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.036e-05/0.5324, allocations: 12.62 kB / 0.828 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005101/0.5329, allocations: 331.5 kB / 0.8283 GB, free: 10.31 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.5329, allocations: 0 / 0.8283 GB, free: 10.31 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.359e-05/0.5329, allocations: 9.625 kB / 0.8283 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.148e-05/0.5329, allocations: 24.67 kB / 0.8284 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005408/0.5335, allocations: 337 kB / 0.8287 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001218/0.5347, allocations: 0.7869 MB / 0.8294 GB, free: 9.785 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005482/0.5352, allocations: 321.5 kB / 0.8298 GB, free: 9.668 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003087/0.5355, allocations: 180.6 kB / 0.8299 GB, free: 9.613 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.5356, allocations: 6.578 kB / 0.8299 GB, free: 9.609 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.5356, allocations: 40.53 kB / 0.83 GB, free: 9.562 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=23): time 1.833e-06/0.5356, allocations: 0 / 0.83 GB, free: 9.562 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.000973/0.5366, allocations: 0.5329 MB / 0.8305 GB, free: 9.383 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.5366, allocations: 54.09 kB / 0.8305 GB, free: 9.32 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004602/0.5371, allocations: 318.8 kB / 0.8308 GB, free: 9.152 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.065e-05/0.5371, allocations: 30.92 kB / 0.8309 GB, free: 9.117 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/0.5372, allocations: 190.4 kB / 0.8311 GB, free: 8.957 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.253e-05/0.5373, allocations: 83.97 kB / 0.8311 GB, free: 8.891 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.5374, allocations: 49.14 kB / 0.8312 GB, free: 8.863 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.5376, allocations: 350.4 kB / 0.8315 GB, free: 8.531 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003979/0.538, allocations: 148.4 kB / 0.8317 GB, free: 8.492 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004507/0.5384, allocations: 180.9 kB / 0.8318 GB, free: 8.422 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006892/0.5391, allocations: 339.3 kB / 0.8322 GB, free: 8.297 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.5391, allocations: 1.281 kB / 0.8322 GB, free: 8.297 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007953/0.5399, allocations: 409.3 kB / 0.8325 GB, free: 8.148 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.5399, allocations: 7.484 kB / 0.8326 GB, free: 8.148 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.54, allocations: 1.031 kB / 0.8326 GB, free: 8.148 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.54, allocations: 2.25 kB / 0.8326 GB, free: 8.148 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000285/0.5403, allocations: 69.53 kB / 0.8326 GB, free: 8.141 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.5403, allocations: 10.03 kB / 0.8326 GB, free: 8.133 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.5404, allocations: 32.72 kB / 0.8327 GB, free: 8.121 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.653e-05/0.5404, allocations: 9.297 kB / 0.8327 GB, free: 8.121 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.0001672/0.5406, allocations: 165.3 kB / 0.8328 GB, free: 7.98 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.212e-05/0.5407, allocations: 35.42 kB / 0.8329 GB, free: 7.961 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.684e-05/0.5407, allocations: 49 kB / 0.8329 GB, free: 7.93 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.5407, allocations: 2.562 kB / 0.8329 GB, free: 7.93 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.375e-06/0.5408, allocations: 5.766 kB / 0.8329 GB, free: 7.926 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.5408, allocations: 1.219 kB / 0.8329 GB, free: 7.926 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001344/0.5421, allocations: 0.8831 MB / 0.8338 GB, free: 7.461 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.5421, allocations: 0.9375 kB / 0.8338 GB, free: 7.461 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002073/0.5423, allocations: 60.75 kB / 0.8338 GB, free: 7.457 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.5423, allocations: 1.281 kB / 0.8338 GB, free: 7.457 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.064e-05/0.5423, allocations: 5.75 kB / 0.8339 GB, free: 7.457 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.5423, allocations: 1.125 kB / 0.8339 GB, free: 7.457 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.5423, allocations: 4.641 kB / 0.8339 GB, free: 7.453 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006798/0.543, allocations: 498.6 kB / 0.8343 GB, free: 7.207 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.5431, allocations: 72.72 kB / 0.8344 GB, free: 7.168 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.144e-05/0.5432, allocations: 5.031 kB / 0.8344 GB, free: 7.164 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.5433, allocations: 22.3 kB / 0.8344 GB, free: 7.16 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.877e-05/0.5434, allocations: 23.17 kB / 0.8344 GB, free: 7.152 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.5434, allocations: 8.031 kB / 0.8345 GB, free: 7.152 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002298/0.5436, allocations: 230.6 kB / 0.8347 GB, free: 7.027 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.1e-08/0.5436, allocations: 0 / 0.8347 GB, free: 7.027 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002601/0.5439, allocations: 74.5 kB / 0.8347 GB, free: 7.016 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.001433/0.5453, allocations: 1.257 MB / 0.836 GB, free: 6.156 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006504/0.546, allocations: 335.5 kB / 0.8363 GB, free: 6.074 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.546, allocations: 0 / 0.8363 GB, free: 6.074 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002963/0.5463, allocations: 177.9 kB / 0.8365 GB, free: 6.027 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004024/0.5467, allocations: 88.72 kB / 0.8365 GB, free: 5.992 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00387/0.5505, allocations: 3.524 MB / 0.84 GB, free: 4.004 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005822/0.5511, allocations: 0.8031 MB / 0.8408 GB, free: 3.293 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002919/0.5514, allocations: 119.5 kB / 0.8409 GB, free: 3.262 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001789/0.5516, allocations: 115.8 kB / 0.841 GB, free: 3.18 MB / 0.6198 GB Notification: Performance of SimCode: time 6.11e-07/0.5516, allocations: 0 / 0.841 GB, free: 3.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02333/0.5749, allocations: 8.329 MB / 0.8491 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.032/7.607, allocations: 16.62 kB / 0.8491 GB, free: 15.11 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_PVTCollectors_BaseClasses_Examples_ISO9806HeatLoss.fmu > IDEAS_dev_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.67220459296368] Failed to read output from testmodel.py, exit status != 0: 7.6863273829221725 7.696332618 7.164683743 Calling exit ...