Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001297/0.001297, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.00146/0.00146, allocations: 155.8 kB / 23.01 MB, free: 4.602 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.389/1.389, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002565/0.002565, allocations: 237.7 kB / 260 MB, free: 468 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.9168/0.9168, allocations: 138.5 MB / 455 MB, free: 15.07 MB / 430.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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: translateModel(BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData") [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.003085/0.003085, allocations: 102.3 kB / 0.6473 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.423/0.4261, allocations: 95.35 MB / 0.7404 GB, free: 17.68 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1909/0.617, allocations: 156 MB / 0.8928 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01936/0.6363, allocations: 12.05 MB / 0.9046 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001505/0.6378, allocations: 43.62 kB / 0.9046 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001412/0.6393, allocations: 472.4 kB / 0.9051 GB, free: 9.934 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003501/0.6428, allocations: 1.072 MB / 0.9061 GB, free: 8.859 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.005185/0.6479, allocations: 1.9 MB / 0.908 GB, free: 6.965 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003903/0.6518, allocations: 2.563 MB / 0.9105 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0022/0.654, allocations: 1.272 MB / 0.9117 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00428/0.6583, allocations: 1.503 MB / 0.9132 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001488/0.6598, allocations: 0.8361 MB / 0.914 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003244/0.6601, allocations: 176 kB / 0.9142 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00285/0.663, allocations: 1.283 MB / 0.9154 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0005415/0.6635, allocations: 0.4984 MB / 0.9159 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0009438/0.6645, allocations: 0.7233 MB / 0.9166 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.004599/0.6691, allocations: 2.841 MB / 0.9194 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.6691, allocations: 0 / 0.9194 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6691, allocations: 0 / 0.9194 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 3.309e-05/0.6691, allocations: 4 kB / 0.9194 GB, free: 11.21 MB / 0.7481 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.003914/0.673, allocations: 2.028 MB / 0.9214 GB, free: 9.137 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.6731, allocations: 8.75 kB / 0.9214 GB, free: 9.129 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003618/0.6767, allocations: 470.4 kB / 0.9218 GB, free: 8.668 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002196/0.6789, allocations: 0.9671 MB / 0.9228 GB, free: 7.672 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001353/0.679, allocations: 98.72 kB / 0.9229 GB, free: 7.574 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001879/0.6792, allocations: 132 kB / 0.923 GB, free: 7.445 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003217/0.6824, allocations: 2.026 MB / 0.925 GB, free: 5.219 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.97e-05/0.6825, allocations: 0 / 0.925 GB, free: 5.219 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001502/0.6826, allocations: 60 kB / 0.925 GB, free: 5.16 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.008e-05/0.6826, allocations: 35.94 kB / 0.925 GB, free: 5.125 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002911/0.6855, allocations: 1.54 MB / 0.9266 GB, free: 3.578 MB / 0.7481 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.00717/0.6927, allocations: 3.768 MB / 0.9302 GB, free: 15.73 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002708/0.6954, allocations: 1.146 MB / 0.9313 GB, free: 14.58 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008939/0.6963, allocations: 440.9 kB / 0.9318 GB, free: 14.14 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000615/0.6969, allocations: 112.9 kB / 0.9319 GB, free: 14.04 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00152/0.6984, allocations: 1.046 MB / 0.9329 GB, free: 12.89 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=107): time 3.426e-06/0.6985, allocations: 0 / 0.9329 GB, free: 12.89 MB / 0.7637 GB Notification: Performance of matching and sorting (n=107): time 0.004585/0.703, allocations: 1.582 MB / 0.9344 GB, free: 11.3 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001299/0.7032, allocations: 192.9 kB / 0.9346 GB, free: 11.07 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/0.7043, allocations: 0.7745 MB / 0.9354 GB, free: 10.29 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.000103/0.7044, allocations: 53.64 kB / 0.9354 GB, free: 10.23 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005632/0.7049, allocations: 0.6219 MB / 0.936 GB, free: 9.602 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.000347/0.7053, allocations: 368.9 kB / 0.9364 GB, free: 9.238 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003507/0.7056, allocations: 210.9 kB / 0.9366 GB, free: 9.027 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001755/0.7058, allocations: 349.9 kB / 0.9369 GB, free: 8.68 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008718/0.7067, allocations: 394.4 kB / 0.9373 GB, free: 8.293 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00119/0.7079, allocations: 0.7425 MB / 0.938 GB, free: 7.461 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0019/0.7098, allocations: 0.9605 MB / 0.939 GB, free: 6.457 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.144e-06/0.7098, allocations: 4 kB / 0.939 GB, free: 6.453 MB / 0.7637 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002947/0.7127, allocations: 1.228 MB / 0.9402 GB, free: 5.215 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.7127, allocations: 7.938 kB / 0.9402 GB, free: 5.207 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.7128, allocations: 4 kB / 0.9402 GB, free: 5.203 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006218/0.7134, allocations: 84.94 kB / 0.9403 GB, free: 5.117 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.7145, allocations: 259.6 kB / 0.9405 GB, free: 4.863 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00223/0.7168, allocations: 1.522 MB / 0.942 GB, free: 3.234 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/0.7178, allocations: 119.5 kB / 0.9421 GB, free: 3.117 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/0.7179, allocations: 47.97 kB / 0.9422 GB, free: 3.07 MB / 0.7637 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.0007243/0.7187, allocations: 347.5 kB / 0.9425 GB, free: 2.723 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002596/0.7189, allocations: 115.3 kB / 0.9426 GB, free: 2.609 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003242/0.7222, allocations: 1.424 MB / 0.944 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.494e-05/0.7222, allocations: 15.94 kB / 0.944 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.7222, allocations: 0 / 0.944 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.252e-05/0.7222, allocations: 7.984 kB / 0.944 GB, free: 1.148 MB / 0.7637 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 postOpt removeSimpleEquations (simulation): time 0.00478/0.727, allocations: 2.411 MB / 0.9464 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.727, allocations: 0 / 0.9464 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/0.728, allocations: 219.7 kB / 0.9466 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004489/0.7285, allocations: 76.78 kB / 0.9466 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.638e-05/0.7286, allocations: 31.97 kB / 0.9467 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002072/0.7306, allocations: 1.547 MB / 0.9482 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.7306, allocations: 0 / 0.9482 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002883/0.7335, allocations: 1.322 MB / 0.9495 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000595/0.7341, allocations: 270.8 kB / 0.9497 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001542/0.7343, allocations: 28 kB / 0.9498 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009152/0.7352, allocations: 79.97 kB / 0.9498 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001885/0.7354, allocations: 92.83 kB / 0.9499 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001138/0.7355, allocations: 47.97 kB / 0.95 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0008086/0.7363, allocations: 0.5263 MB / 0.9505 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.7363, allocations: 4 kB / 0.9505 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001405/0.7377, allocations: 0.5103 MB / 0.951 GB, free: 9.828 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002291/0.74, allocations: 0.7357 MB / 0.9517 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.002474/0.7425, allocations: 1.105 MB / 0.9528 GB, free: 8.188 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.7425, allocations: 8 kB / 0.9528 GB, free: 8.18 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001288/0.7437, allocations: 0.629 MB / 0.9534 GB, free: 7.535 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00191/0.7457, allocations: 466 kB / 0.9539 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004415/0.7501, allocations: 2.394 MB / 0.9562 GB, free: 4.68 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007036/0.7508, allocations: 0.6205 MB / 0.9568 GB, free: 4.023 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001229/0.752, allocations: 372.7 kB / 0.9572 GB, free: 3.656 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003724/0.7524, allocations: 144.4 kB / 0.9573 GB, free: 3.516 MB / 0.7794 GB Notification: Performance of SimCode: time 7.41e-07/0.7524, allocations: 3.938 kB / 0.9573 GB, free: 3.512 MB / 0.7794 GB Notification: Performance of Templates: time 0.04314/0.7955, allocations: 22.82 MB / 0.9796 GB, free: 13.14 MB / 0.8106 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.633250352111645] Failed to read output from testmodel.py, exit status != 0: 0.8052354101091623 1.130336612 0.147740689 Calling exit ...