Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.0007925/0.0007925, allocations: 105.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.0008349/0.0008349, allocations: 208.1 kB / 22.25 MB, free: 3.59 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.9894/0.9894, allocations: 230.6 MB / 256 MB, free: 9.621 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.8004/0.8004, allocations: 203.5 MB / 0.5039 GB, free: 10.69 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.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="IDEAS_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="IDEAS_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",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.0009354/0.0009354, allocations: 63.34 kB / 0.7178 GB, free: 4.418 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5339/0.5348, allocations: 102 MB / 0.8174 GB, free: 1.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002248/0.5371, allocations: 1.841 MB / 0.8192 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003236/0.5403, allocations: 3.471 MB / 0.8226 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.274e-05/0.5404, allocations: 5.5 kB / 0.8226 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006625/0.541, allocations: 174.2 kB / 0.8227 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001483/0.5412, allocations: 77.75 kB / 0.8228 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 9.18e-05/0.5413, allocations: 53.23 kB / 0.8229 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003961/0.5417, allocations: 283.9 kB / 0.8231 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.5418, allocations: 25.39 kB / 0.8232 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.491e-05/0.5419, allocations: 77.2 kB / 0.8232 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.542, allocations: 73.75 kB / 0.8233 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.542, allocations: 7.812 kB / 0.8233 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.616e-05/0.5421, allocations: 35.61 kB / 0.8234 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.824e-05/0.5422, allocations: 59.73 kB / 0.8234 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.406e-05/0.5422, allocations: 65.67 kB / 0.8235 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002852/0.5425, allocations: 211.4 kB / 0.8237 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.5425, allocations: 1.406 kB / 0.8237 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.274e-06/0.5425, allocations: 0 / 0.8237 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.5425, allocations: 0 / 0.8237 GB, free: 13.1 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006687/0.5432, allocations: 474.1 kB / 0.8241 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.5432, allocations: 13.64 kB / 0.8241 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4e-05/0.5433, allocations: 42.77 kB / 0.8242 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002329/0.5435, allocations: 61.12 kB / 0.8242 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002945/0.5438, allocations: 198.9 kB / 0.8244 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.5438, allocations: 3.219 kB / 0.8244 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.5438, allocations: 3 kB / 0.8244 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003205/0.5442, allocations: 153.2 kB / 0.8246 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.5442, allocations: 0 / 0.8246 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.5442, allocations: 4 kB / 0.8246 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.443e-05/0.5442, allocations: 10.52 kB / 0.8246 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002895/0.5445, allocations: 141.4 kB / 0.8247 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005578/0.545, allocations: 409.5 kB / 0.8251 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003025/0.5453, allocations: 170.7 kB / 0.8253 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001736/0.5455, allocations: 102.1 kB / 0.8254 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.5455, allocations: 5.406 kB / 0.8254 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.5456, allocations: 36.44 kB / 0.8254 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.683e-06/0.5456, allocations: 1.344 kB / 0.8254 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0006331/0.5462, allocations: 302.3 kB / 0.8257 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.5462, allocations: 53.14 kB / 0.8258 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002286/0.5465, allocations: 250.3 kB / 0.826 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.5465, allocations: 31.42 kB / 0.826 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.403e-05/0.5466, allocations: 136 kB / 0.8262 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.538e-05/0.5466, allocations: 49.48 kB / 0.8262 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.396e-05/0.5467, allocations: 31.23 kB / 0.8262 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.5468, allocations: 339.7 kB / 0.8266 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.5469, allocations: 74.56 kB / 0.8266 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.5471, allocations: 74.14 kB / 0.8267 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003109/0.5474, allocations: 165.6 kB / 0.8269 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.5474, allocations: 7.938 kB / 0.8269 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003645/0.5478, allocations: 222.8 kB / 0.8271 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.5478, allocations: 6.062 kB / 0.8271 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.5478, allocations: 0 / 0.8271 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.5478, allocations: 1.312 kB / 0.8271 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.548, allocations: 37.23 kB / 0.8271 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.548, allocations: 0.6562 kB / 0.8271 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.541e-05/0.5481, allocations: 17.16 kB / 0.8271 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.5481, allocations: 13.28 kB / 0.8272 GB, free: 10.88 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (13): * Single equations (assignments): 13 * 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.0001171/0.5482, allocations: 133.1 kB / 0.8273 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.289e-05/0.5482, allocations: 26.45 kB / 0.8273 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.189e-05/0.5483, allocations: 36.41 kB / 0.8273 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.84e-06/0.5483, allocations: 2.281 kB / 0.8273 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/0.5483, allocations: 4.75 kB / 0.8273 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.5483, allocations: 0.7969 kB / 0.8273 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002553/0.5486, allocations: 230.7 kB / 0.8276 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.5486, allocations: 0.9688 kB / 0.8276 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.5487, allocations: 33.81 kB / 0.8276 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.5487, allocations: 0 / 0.8276 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.5487, allocations: 7.219 kB / 0.8276 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.5487, allocations: 1.375 kB / 0.8276 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.5487, allocations: 0 / 0.8276 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004325/0.5491, allocations: 327 kB / 0.8279 GB, free: 10.31 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.753e-05/0.5492, allocations: 46.33 kB / 0.828 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.5492, allocations: 0.7969 kB / 0.828 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.192e-05/0.5493, allocations: 12.28 kB / 0.828 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.191e-05/0.5494, allocations: 13.88 kB / 0.828 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.709e-06/0.5494, allocations: 3.703 kB / 0.828 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001539/0.5496, allocations: 195.2 kB / 0.8282 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5496, allocations: 0 / 0.8282 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002098/0.5498, allocations: 40.8 kB / 0.8282 GB, free: 10.16 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 (13): * Single equations (assignments): 13 * 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.0007086/0.5505, allocations: 0.8547 MB / 0.8291 GB, free: 9.445 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003948/0.5509, allocations: 171.7 kB / 0.8292 GB, free: 9.406 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.5509, allocations: 0 / 0.8292 GB, free: 9.406 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001679/0.551, allocations: 93.25 kB / 0.8293 GB, free: 9.383 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/0.5514, allocations: 59.02 kB / 0.8294 GB, free: 9.352 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003237/0.5546, allocations: 2.45 MB / 0.8318 GB, free: 7.746 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001444/0.5548, allocations: 137.4 kB / 0.8319 GB, free: 7.664 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001433/0.5549, allocations: 56.8 kB / 0.8319 GB, free: 7.652 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.459e-05/0.555, allocations: 63.42 kB / 0.832 GB, free: 7.605 MB / 0.6198 GB Notification: Performance of SimCode: time 8.42e-07/0.555, allocations: 0 / 0.832 GB, free: 7.605 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02152/0.5765, allocations: 5.709 MB / 0.8376 GB, free: 5.895 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.345/6.922, allocations: 5.438 kB / 0.8376 GB, free: 5.895 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 IDEAS_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.04123314935714] Failed to read output from testmodel.py, exit status != 0: 6.999990297015756 7.012797241 6.467890251 Calling exit ...