Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001032/0.001032, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0009018/0.0009018, allocations: 206.6 kB / 22.24 MB, free: 3.582 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.9759/0.9759, 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 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.7956/0.7956, allocations: 203.8 MB / 0.5042 GB, free: 10.48 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.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="IDEAS_dev_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.001083/0.001083, allocations: 71.08 kB / 0.7182 GB, free: 4.059 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5578/0.5589, allocations: 102 MB / 0.8178 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002628/0.5615, allocations: 1.838 MB / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003645/0.5652, allocations: 3.42 MB / 0.8229 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.5653, allocations: 2.125 kB / 0.8229 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007343/0.566, allocations: 166 kB / 0.8231 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001743/0.5662, allocations: 74.27 kB / 0.8232 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001083/0.5663, allocations: 50.06 kB / 0.8232 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004378/0.5667, allocations: 270.7 kB / 0.8235 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.5668, allocations: 27.44 kB / 0.8235 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.567, allocations: 77.31 kB / 0.8236 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.5671, allocations: 71.92 kB / 0.8236 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.5671, allocations: 6.469 kB / 0.8236 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.156e-05/0.5672, allocations: 28.28 kB / 0.8237 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.741e-05/0.5673, allocations: 57.97 kB / 0.8237 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.934e-05/0.5674, allocations: 70.33 kB / 0.8238 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000284/0.5677, allocations: 196.8 kB / 0.824 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.5677, allocations: 0 / 0.824 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.023e-06/0.5677, allocations: 4 kB / 0.824 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.979e-06/0.5677, allocations: 1.656 kB / 0.824 GB, free: 12.97 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.0007837/0.5685, allocations: 467.3 kB / 0.8244 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.5685, allocations: 10.3 kB / 0.8244 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.811e-05/0.5686, allocations: 38.81 kB / 0.8245 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005563/0.5691, allocations: 121.3 kB / 0.8246 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003873/0.5695, allocations: 212.3 kB / 0.8248 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.5695, allocations: 5.531 kB / 0.8248 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.5695, allocations: 4.469 kB / 0.8248 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002956/0.5698, allocations: 156.8 kB / 0.8249 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.5698, allocations: 0 / 0.8249 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.5699, allocations: 2.031 kB / 0.8249 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.569e-05/0.5699, allocations: 9.953 kB / 0.825 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002964/0.5702, allocations: 150.1 kB / 0.8251 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005969/0.5708, allocations: 416 kB / 0.8255 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003276/0.5711, allocations: 167 kB / 0.8257 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001651/0.5713, allocations: 101.4 kB / 0.8258 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.5713, allocations: 6.797 kB / 0.8258 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.5713, allocations: 43.3 kB / 0.8258 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.412e-06/0.5713, allocations: 0 / 0.8258 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0005937/0.5719, allocations: 299.1 kB / 0.8261 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.5719, allocations: 52.62 kB / 0.8261 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.5721, allocations: 248.2 kB / 0.8264 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.5722, allocations: 31.8 kB / 0.8264 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.563e-05/0.5722, allocations: 134.9 kB / 0.8265 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.941e-05/0.5723, allocations: 45.98 kB / 0.8266 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.305e-05/0.5723, allocations: 33.3 kB / 0.8266 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.5724, allocations: 336.3 kB / 0.8269 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.5726, allocations: 83.25 kB / 0.827 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001443/0.5727, allocations: 87.42 kB / 0.8271 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002961/0.573, allocations: 170.5 kB / 0.8273 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.573, allocations: 0 / 0.8273 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003889/0.5734, allocations: 226.9 kB / 0.8275 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.5734, allocations: 5.219 kB / 0.8275 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.5734, allocations: 0 / 0.8275 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.5735, allocations: 2.141 kB / 0.8275 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001842/0.5736, allocations: 37.14 kB / 0.8275 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.5736, allocations: 1.781 kB / 0.8275 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.5737, allocations: 30.3 kB / 0.8275 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.5738, allocations: 7.844 kB / 0.8276 GB, free: 10.75 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.0001081/0.5739, allocations: 137.4 kB / 0.8277 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.736e-05/0.5739, allocations: 23.08 kB / 0.8277 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.426e-05/0.574, allocations: 27.98 kB / 0.8277 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.574, allocations: 2.438 kB / 0.8277 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.574, allocations: 1.375 kB / 0.8277 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.574, allocations: 0.7031 kB / 0.8277 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002502/0.5742, allocations: 238.8 kB / 0.828 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.5742, allocations: 4 kB / 0.828 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001338/0.5744, allocations: 43.78 kB / 0.828 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.5744, allocations: 3.938 kB / 0.828 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.5744, allocations: 4.531 kB / 0.828 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.5744, allocations: 0 / 0.828 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.5744, allocations: 0.6094 kB / 0.828 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000445/0.5748, allocations: 329.6 kB / 0.8283 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.629e-05/0.5749, allocations: 34.31 kB / 0.8284 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/0.5749, allocations: 1.891 kB / 0.8284 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.575, allocations: 16.5 kB / 0.8284 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.645e-05/0.5751, allocations: 9.766 kB / 0.8284 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.5751, allocations: 7.953 kB / 0.8284 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001609/0.5752, allocations: 182.4 kB / 0.8286 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.5752, allocations: 0 / 0.8286 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002107/0.5755, allocations: 47.92 kB / 0.8286 GB, free: 10.03 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.0006324/0.5761, allocations: 0.8579 MB / 0.8295 GB, free: 9.316 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003699/0.5765, allocations: 180.7 kB / 0.8296 GB, free: 9.273 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.5765, allocations: 0 / 0.8296 GB, free: 9.273 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.5766, allocations: 100.7 kB / 0.8297 GB, free: 9.246 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.5769, allocations: 50.39 kB / 0.8298 GB, free: 9.23 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003021/0.58, allocations: 2.415 MB / 0.8321 GB, free: 7.648 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001403/0.5801, allocations: 139 kB / 0.8323 GB, free: 7.562 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001835/0.5803, allocations: 67.78 kB / 0.8323 GB, free: 7.539 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.5804, allocations: 59.53 kB / 0.8324 GB, free: 7.496 MB / 0.6198 GB Notification: Performance of SimCode: time 5.21e-07/0.5804, allocations: 1.094 kB / 0.8324 GB, free: 7.496 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02015/0.6005, allocations: 5.496 MB / 0.8378 GB, free: 5.77 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.5/7.1, allocations: 7.438 kB / 0.8378 GB, free: 5.766 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.149992264807224] Failed to read output from testmodel.py, exit status != 0: 7.1769337030127645 7.190071923 6.620014581 Calling exit ...