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.001388/0.001388, 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.0008959/0.0008959, allocations: 217.7 kB / 22.25 MB, free: 3.699 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.9331/0.9331, allocations: 230.6 MB / 256 MB, free: 9.797 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.7681/0.7681, allocations: 203.8 MB / 0.5042 GB, free: 10.25 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.001515/0.001515, allocations: 67.09 kB / 0.7182 GB, free: 4.285 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4996/0.5012, allocations: 102 MB / 0.8179 GB, free: 1.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002306/0.5035, allocations: 1.905 MB / 0.8197 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003466/0.5069, allocations: 3.702 MB / 0.8233 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.507, allocations: 1.188 kB / 0.8233 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007617/0.5078, allocations: 176.8 kB / 0.8235 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001784/0.508, allocations: 77.34 kB / 0.8236 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001371/0.5081, allocations: 53.48 kB / 0.8236 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004241/0.5085, allocations: 271.7 kB / 0.8239 GB, free: 13 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.5087, allocations: 24.08 kB / 0.8239 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.5088, allocations: 82.62 kB / 0.824 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.5089, allocations: 78.02 kB / 0.8241 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.5089, allocations: 6.5 kB / 0.8241 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.795e-05/0.509, allocations: 30.56 kB / 0.8241 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.488e-05/0.509, allocations: 51.14 kB / 0.8241 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.288e-05/0.5091, allocations: 93.09 kB / 0.8242 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002505/0.5094, allocations: 199 kB / 0.8244 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.5094, allocations: 0 / 0.8244 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.753e-06/0.5094, allocations: 0 / 0.8244 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.5094, allocations: 5.438 kB / 0.8244 GB, free: 12.73 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.0006741/0.51, allocations: 461.8 kB / 0.8249 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.5101, allocations: 8.938 kB / 0.8249 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.335e-05/0.5101, allocations: 39.58 kB / 0.8249 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004607/0.5106, allocations: 124.5 kB / 0.825 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003592/0.5109, allocations: 212.3 kB / 0.8252 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.789e-06/0.511, allocations: 3.281 kB / 0.8252 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.511, allocations: 7.469 kB / 0.8253 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000263/0.5112, allocations: 158.8 kB / 0.8254 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.5112, allocations: 0.8438 kB / 0.8254 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.5113, allocations: 5.109 kB / 0.8254 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.313e-05/0.5113, allocations: 13.59 kB / 0.8254 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002587/0.5115, allocations: 150 kB / 0.8256 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005369/0.5121, allocations: 430.9 kB / 0.826 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002787/0.5124, allocations: 173 kB / 0.8261 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.5125, allocations: 104.6 kB / 0.8262 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.5125, allocations: 5.234 kB / 0.8262 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.5126, allocations: 35.97 kB / 0.8263 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 2.064e-06/0.5126, allocations: 0 / 0.8263 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0005568/0.5131, allocations: 303.1 kB / 0.8266 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.5131, allocations: 53.06 kB / 0.8266 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001897/0.5133, allocations: 247.8 kB / 0.8269 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.5134, allocations: 25.7 kB / 0.8269 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.819e-05/0.5134, allocations: 138.1 kB / 0.827 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.103e-05/0.5135, allocations: 52.78 kB / 0.8271 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.034e-05/0.5135, allocations: 29.03 kB / 0.8271 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.974e-05/0.5136, allocations: 340.1 kB / 0.8274 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.5137, allocations: 77.86 kB / 0.8275 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.5139, allocations: 84.39 kB / 0.8276 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002762/0.5142, allocations: 172.6 kB / 0.8277 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.5142, allocations: 0.5625 kB / 0.8277 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004648/0.5146, allocations: 227 kB / 0.828 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.5146, allocations: 4.469 kB / 0.828 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.5146, allocations: 1.469 kB / 0.828 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.5147, allocations: 0.7031 kB / 0.828 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.5148, allocations: 38.27 kB / 0.828 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.5148, allocations: 1.438 kB / 0.828 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.798e-05/0.5149, allocations: 25.83 kB / 0.828 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.5149, allocations: 8.672 kB / 0.828 GB, free: 10.5 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.434e-05/0.515, allocations: 137.3 kB / 0.8282 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.923e-05/0.515, allocations: 21.36 kB / 0.8282 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.136e-05/0.5151, allocations: 37.09 kB / 0.8282 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.5151, allocations: 1.156 kB / 0.8282 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.5151, allocations: 2.109 kB / 0.8282 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.5151, allocations: 0.5156 kB / 0.8282 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002455/0.5153, allocations: 252 kB / 0.8285 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.5153, allocations: 5.312 kB / 0.8285 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.5155, allocations: 33.78 kB / 0.8285 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.5155, allocations: 5.188 kB / 0.8285 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.5155, allocations: 3.531 kB / 0.8285 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.5155, allocations: 9.25 kB / 0.8285 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5155, allocations: 0.5156 kB / 0.8285 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003698/0.5159, allocations: 331.8 kB / 0.8288 GB, free: 9.926 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.019e-05/0.5159, allocations: 33.27 kB / 0.8289 GB, free: 9.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/0.5159, allocations: 5.734 kB / 0.8289 GB, free: 9.906 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.547e-05/0.516, allocations: 13.11 kB / 0.8289 GB, free: 9.906 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.603e-05/0.5161, allocations: 13.45 kB / 0.8289 GB, free: 9.902 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.5161, allocations: 8.469 kB / 0.8289 GB, free: 9.898 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000126/0.5162, allocations: 182 kB / 0.8291 GB, free: 9.789 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5162, allocations: 0 / 0.8291 GB, free: 9.789 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001819/0.5164, allocations: 43.83 kB / 0.8291 GB, free: 9.777 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.0006219/0.517, allocations: 0.8614 MB / 0.83 GB, free: 9.055 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000357/0.5174, allocations: 177.1 kB / 0.8301 GB, free: 9.016 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.5174, allocations: 4 kB / 0.8301 GB, free: 9.012 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.5175, allocations: 99.25 kB / 0.8302 GB, free: 8.988 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.5178, allocations: 45.2 kB / 0.8303 GB, free: 8.973 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002614/0.5205, allocations: 2.411 MB / 0.8326 GB, free: 7.391 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005375/0.521, allocations: 0.7456 MB / 0.8333 GB, free: 6.688 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001916/0.5212, allocations: 63 kB / 0.8334 GB, free: 6.672 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.5213, allocations: 68.44 kB / 0.8335 GB, free: 6.621 MB / 0.6198 GB Notification: Performance of SimCode: time 8.11e-07/0.5213, allocations: 0 / 0.8335 GB, free: 6.621 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01975/0.541, allocations: 4.946 MB / 0.8383 GB, free: 5.41 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.807/7.348, allocations: 12.22 kB / 0.8383 GB, free: 5.406 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.27103364886716] Failed to read output from testmodel.py, exit status != 0: 7.431452078046277 7.444940338 6.932889297 Calling exit ...