Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.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.001716/0.001716, allocations: 95.92 kB / 19.7 MB, free: 2.129 MB / 14.72 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.001856/0.001856, allocations: 208.9 kB / 23 MB, free: 4.934 MB / 14.72 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.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.171/3.171, allocations: 0.49 GB / 0.7959 GB, free: 35.66 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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: translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTem.T|senRelHum.phi|senMasFra.X",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTem.T|senRelHum.phi|senMasFra.X",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") [Timeout 300] "Notification: Buildings 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.002027/0.002027, allocations: 64.52 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3309, allocations: 176.1 MB / 1.327 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.2019/0.5328, allocations: 156 MB / 1.479 GB, free: 4.387 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01801/0.5508, allocations: 12.05 MB / 1.491 GB, free: 8.301 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001376/0.5522, allocations: 43.62 kB / 1.491 GB, free: 8.258 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001271/0.5534, allocations: 476.3 kB / 1.492 GB, free: 7.789 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003002/0.5564, allocations: 1.072 MB / 1.493 GB, free: 6.715 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00479/0.5612, allocations: 1.898 MB / 1.495 GB, free: 4.824 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.00353/0.5647, allocations: 2.563 MB / 1.497 GB, free: 2.254 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002228/0.567, allocations: 1.299 MB / 1.498 GB, free: 0.8945 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00445/0.5714, allocations: 1.649 MB / 1.5 GB, free: 15.27 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001453/0.5729, allocations: 0.9025 MB / 1.501 GB, free: 14.37 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0003053/0.5732, allocations: 176 kB / 1.501 GB, free: 14.2 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002768/0.5759, allocations: 1.306 MB / 1.502 GB, free: 12.89 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004945/0.5764, allocations: 0.4946 MB / 1.503 GB, free: 12.39 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0009228/0.5774, allocations: 0.7232 MB / 1.504 GB, free: 11.66 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.004626/0.582, allocations: 2.841 MB / 1.506 GB, free: 8.812 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.582, allocations: 0 / 1.506 GB, free: 8.812 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.013e-06/0.582, allocations: 4 kB / 1.506 GB, free: 8.809 MB / 1.201 GB Notification: Performance of Transformations before backend: time 4.447e-05/0.582, allocations: 3.938 kB / 1.506 GB, free: 8.805 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 346 * Number of variables: 346 Notification: Performance of Generate backend data structure: time 0.003906/0.5859, allocations: 2.024 MB / 1.508 GB, free: 6.734 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.586, allocations: 8.031 kB / 1.508 GB, free: 6.727 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003459/0.5894, allocations: 462.5 kB / 1.509 GB, free: 6.273 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001921/0.5914, allocations: 0.9671 MB / 1.51 GB, free: 5.273 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/0.5915, allocations: 106.7 kB / 1.51 GB, free: 5.168 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002034/0.5917, allocations: 136 kB / 1.51 GB, free: 5.035 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00312/0.5948, allocations: 2.022 MB / 1.512 GB, free: 2.812 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.135e-05/0.5948, allocations: 0 / 1.512 GB, free: 2.812 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001472/0.595, allocations: 60 kB / 1.512 GB, free: 2.754 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.435e-05/0.595, allocations: 35.98 kB / 1.512 GB, free: 2.719 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00295/0.598, allocations: 1.54 MB / 1.513 GB, free: 1.172 MB / 1.201 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00727/0.6052, allocations: 3.775 MB / 1.517 GB, free: 13.32 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002666/0.6079, allocations: 1.146 MB / 1.518 GB, free: 12.16 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008612/0.6088, allocations: 447.6 kB / 1.519 GB, free: 11.71 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006552/0.6094, allocations: 108.9 kB / 1.519 GB, free: 11.61 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001579/0.611, allocations: 1.05 MB / 1.52 GB, free: 10.46 MB / 1.217 GB Notification: Performance of pre-optimization done (n=107): time 3.656e-06/0.611, allocations: 0 / 1.52 GB, free: 10.46 MB / 1.217 GB Notification: Performance of matching and sorting (n=107): time 0.004663/0.6157, allocations: 1.586 MB / 1.521 GB, free: 8.863 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/0.6158, allocations: 196.9 kB / 1.522 GB, free: 8.629 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001189/0.617, allocations: 0.759 MB / 1.522 GB, free: 7.859 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.000114/0.6171, allocations: 49.7 kB / 1.522 GB, free: 7.805 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005907/0.6177, allocations: 0.614 MB / 1.523 GB, free: 7.184 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003564/0.618, allocations: 376.8 kB / 1.523 GB, free: 6.812 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003662/0.6184, allocations: 218.8 kB / 1.524 GB, free: 6.594 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.6186, allocations: 349.9 kB / 1.524 GB, free: 6.246 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008433/0.6194, allocations: 402.4 kB / 1.524 GB, free: 5.852 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001113/0.6205, allocations: 0.7425 MB / 1.525 GB, free: 5.012 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001859/0.6224, allocations: 0.9566 MB / 1.526 GB, free: 4.016 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.6224, allocations: 0 / 1.526 GB, free: 4.016 MB / 1.217 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003004/0.6254, allocations: 1.22 MB / 1.527 GB, free: 2.785 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.6254, allocations: 8 kB / 1.527 GB, free: 2.777 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.6254, allocations: 3.938 kB / 1.527 GB, free: 2.773 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006961/0.6261, allocations: 89.05 kB / 1.527 GB, free: 2.684 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/0.6274, allocations: 255.6 kB / 1.527 GB, free: 2.434 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002277/0.6296, allocations: 1.516 MB / 1.529 GB, free: 0.8125 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/0.6308, allocations: 121.3 kB / 1.529 GB, free: 0.6953 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/0.6309, allocations: 55.95 kB / 1.529 GB, free: 0.6406 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007044/0.6316, allocations: 352.5 kB / 1.529 GB, free: 296 kB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002688/0.6319, allocations: 115.2 kB / 1.53 GB, free: 180 kB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003453/0.6353, allocations: 1.42 MB / 1.531 GB, free: 14.73 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.852e-05/0.6354, allocations: 7.969 kB / 1.531 GB, free: 14.73 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.6354, allocations: 7.938 kB / 1.531 GB, free: 14.72 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006985/0.6361, allocations: 270.8 kB / 1.531 GB, free: 14.45 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001701/0.6362, allocations: 24 kB / 1.531 GB, free: 14.43 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009248/0.6372, allocations: 71.92 kB / 1.531 GB, free: 14.36 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001901/0.6374, allocations: 88.83 kB / 1.531 GB, free: 14.27 MB / 1.232 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003236/0.6406, allocations: 1.299 MB / 1.533 GB, free: 12.96 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003568/0.6442, allocations: 1.934 MB / 1.535 GB, free: 11.02 MB / 1.232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009019/0.6451, allocations: 463.8 kB / 1.535 GB, free: 10.56 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0008027/0.6459, allocations: 0.5263 MB / 1.535 GB, free: 10.04 MB / 1.232 GB Notification: Performance of Backend: time 5.71e-07/0.6459, allocations: 0 / 1.535 GB, free: 10.04 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.005479/0.6513, allocations: 1.703 MB / 1.537 GB, free: 8.598 MB / 1.232 GB Notification: Performance of SimCode: time 0.004635/0.656, allocations: 2.766 MB / 1.54 GB, free: 5.789 MB / 1.232 GB Notification: Performance of Templates: time 0.04755/0.7035, allocations: 28.95 MB / 1.568 GB, free: 9.172 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 9.741440528996463] Failed to read output from testmodel.py, exit status != 0: 0.7119008700028644 0.72722449 0.14191024600000002 Calling exit ...