Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.001318/0.001318, 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.001792/0.001792, allocations: 207.6 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 1.01/1.01, allocations: 230.6 MB / 256 MB, free: 9.605 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.8106/0.8106, allocations: 203.5 MB / 0.5039 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 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.ASHRAEHeatLoss,fileNamePrefix="IDEAS_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="IDEAS_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",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.001025/0.001025, allocations: 74.67 kB / 0.7178 GB, free: 4.426 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5847/0.5857, allocations: 102 MB / 0.8174 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002355/0.5881, allocations: 1.838 MB / 0.8192 GB, free: 0 / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00367/0.5917, allocations: 3.417 MB / 0.8225 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/0.5919, allocations: 5.281 kB / 0.8225 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007431/0.5926, allocations: 164.1 kB / 0.8227 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002081/0.5928, allocations: 74.73 kB / 0.8227 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000171/0.593, allocations: 54.67 kB / 0.8228 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004338/0.5934, allocations: 272 kB / 0.8231 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.5935, allocations: 20.81 kB / 0.8231 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.5937, allocations: 75.5 kB / 0.8231 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.5938, allocations: 74.45 kB / 0.8232 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.5938, allocations: 10.84 kB / 0.8232 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.141e-05/0.5939, allocations: 27.97 kB / 0.8233 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.122e-05/0.5939, allocations: 55.62 kB / 0.8233 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.54e-05/0.594, allocations: 65.88 kB / 0.8234 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002427/0.5943, allocations: 202 kB / 0.8236 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.5943, allocations: 0 / 0.8236 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.674e-06/0.5943, allocations: 0 / 0.8236 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.5943, allocations: 0 / 0.8236 GB, free: 13.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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006391/0.5949, allocations: 470 kB / 0.824 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.5949, allocations: 10.59 kB / 0.824 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.548e-05/0.595, allocations: 38.36 kB / 0.8241 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002101/0.5952, allocations: 57.27 kB / 0.8241 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000342/0.5955, allocations: 213.5 kB / 0.8243 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.5955, allocations: 1.906 kB / 0.8243 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.5956, allocations: 8.25 kB / 0.8243 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000417/0.596, allocations: 137 kB / 0.8245 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.596, allocations: 0 / 0.8245 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.596, allocations: 4 kB / 0.8245 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.664e-05/0.596, allocations: 10.42 kB / 0.8245 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002623/0.5963, allocations: 140.9 kB / 0.8246 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005333/0.5968, allocations: 398 kB / 0.825 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002616/0.5971, allocations: 157.6 kB / 0.8251 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/0.5972, allocations: 91.25 kB / 0.8252 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.5973, allocations: 6 kB / 0.8252 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.5973, allocations: 37.47 kB / 0.8253 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.082e-06/0.5973, allocations: 0 / 0.8253 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.000541/0.5978, allocations: 285.3 kB / 0.8255 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.5979, allocations: 53.91 kB / 0.8256 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.598, allocations: 247.6 kB / 0.8258 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.5981, allocations: 25.7 kB / 0.8258 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.949e-05/0.5981, allocations: 136.7 kB / 0.826 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.702e-05/0.5982, allocations: 50.11 kB / 0.826 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.704e-05/0.5982, allocations: 30.52 kB / 0.8261 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.341e-05/0.5983, allocations: 340.6 kB / 0.8264 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.5985, allocations: 67.14 kB / 0.8264 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.5986, allocations: 75.23 kB / 0.8265 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002617/0.5988, allocations: 156.7 kB / 0.8267 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.5989, allocations: 0 / 0.8267 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003085/0.5992, allocations: 211 kB / 0.8269 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.5992, allocations: 13.75 kB / 0.8269 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.5992, allocations: 0 / 0.8269 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.5992, allocations: 1.094 kB / 0.8269 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.5993, allocations: 33.19 kB / 0.8269 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.5993, allocations: 1.5 kB / 0.8269 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.477e-05/0.5994, allocations: 25.14 kB / 0.8269 GB, free: 11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.5994, allocations: 8.016 kB / 0.8269 GB, free: 10.99 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 9.817e-05/0.5995, allocations: 141.9 kB / 0.8271 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.822e-05/0.5996, allocations: 25.78 kB / 0.8271 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.229e-05/0.5996, allocations: 28.84 kB / 0.8271 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.5996, allocations: 1.281 kB / 0.8271 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.5996, allocations: 1.25 kB / 0.8271 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.5996, allocations: 1.078 kB / 0.8271 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003015/0.5999, allocations: 226.8 kB / 0.8274 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.5999, allocations: 0 / 0.8274 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.489e-05/0.6, allocations: 34.23 kB / 0.8274 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.6, allocations: 4.734 kB / 0.8274 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.6, allocations: 6.281 kB / 0.8274 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.6, allocations: 1.531 kB / 0.8274 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.6, allocations: 0 / 0.8274 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003622/0.6004, allocations: 322.5 kB / 0.8277 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.492e-05/0.6005, allocations: 32.72 kB / 0.8277 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.6005, allocations: 4.703 kB / 0.8277 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.571e-05/0.6006, allocations: 17.39 kB / 0.8278 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.198e-05/0.6006, allocations: 13.58 kB / 0.8278 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.6006, allocations: 4.469 kB / 0.8278 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001184/0.6007, allocations: 180.2 kB / 0.8279 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.6007, allocations: 1.281 kB / 0.8279 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001984/0.6009, allocations: 45.84 kB / 0.828 GB, free: 10.29 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.000571/0.6015, allocations: 0.8462 MB / 0.8288 GB, free: 9.57 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003301/0.6018, allocations: 159.8 kB / 0.829 GB, free: 9.539 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.6018, allocations: 0 / 0.829 GB, free: 9.539 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.602, allocations: 90.78 kB / 0.8291 GB, free: 9.516 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.6023, allocations: 51.45 kB / 0.8291 GB, free: 9.492 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0024/0.6047, allocations: 2.371 MB / 0.8314 GB, free: 7.922 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001423/0.6048, allocations: 136 kB / 0.8315 GB, free: 7.84 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001714/0.605, allocations: 51.31 kB / 0.8316 GB, free: 7.828 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.873e-05/0.6051, allocations: 62.97 kB / 0.8317 GB, free: 7.781 MB / 0.6198 GB Notification: Performance of SimCode: time 1.132e-06/0.6051, allocations: 0.5 kB / 0.8317 GB, free: 7.781 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02199/0.6271, allocations: 5.371 MB / 0.8369 GB, free: 6.293 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.826/7.454, allocations: 6.719 kB / 0.8369 GB, free: 6.293 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_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_ASHRAEHeatLoss.fmu > IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.606718344148248] Failed to read output from testmodel.py, exit status != 0: 7.534681707154959 7.545092751 6.948943818 Calling exit ...