Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 95.33 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 175.2 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 223.2 MB / 240.5 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6486/0.6486, allocations: 113.8 MB / 405.4 MB, free: 4.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000294/0.000294, allocations: 9.375 kB / 493 MB, free: 8.609 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1368, allocations: 77.16 MB / 0.5568 GB, free: 11.65 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.4134/0.5503, allocations: 147.1 MB / 0.7005 GB, free: 6.887 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01422/0.5646, allocations: 10.75 MB / 0.711 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009881/0.5656, allocations: 31.81 kB / 0.711 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0008639/0.5665, allocations: 274.4 kB / 0.7113 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002207/0.5687, allocations: 0.8135 MB / 0.7121 GB, free: 11 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003067/0.5718, allocations: 1.235 MB / 0.7133 GB, free: 9.781 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002262/0.5741, allocations: 1.439 MB / 0.7147 GB, free: 8.34 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001672/0.5758, allocations: 1.204 MB / 0.7159 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002255/0.578, allocations: 1.114 MB / 0.717 GB, free: 6.004 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007184/0.5788, allocations: 0.5576 MB / 0.7175 GB, free: 5.445 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001152/0.5789, allocations: 52 kB / 0.7176 GB, free: 5.395 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001691/0.5806, allocations: 0.7372 MB / 0.7183 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003027/0.5809, allocations: 314.9 kB / 0.7186 GB, free: 4.348 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003147/0.5812, allocations: 312.8 kB / 0.7189 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002256/0.5835, allocations: 1.843 MB / 0.7207 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.5835, allocations: 0 / 0.7207 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.996e-06/0.5835, allocations: 7.938 kB / 0.7207 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.59e-05/0.5835, allocations: 3.938 kB / 0.7207 GB, free: 2.18 MB / 0.5294 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.002945/0.5865, allocations: 1.676 MB / 0.7223 GB, free: 452 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.5865, allocations: 12.03 kB / 0.7223 GB, free: 440 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002637/0.5892, allocations: 425.6 kB / 0.7227 GB, free: 12 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001573/0.5908, allocations: 0.9457 MB / 0.7237 GB, free: 15.02 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.908e-05/0.5909, allocations: 106.7 kB / 0.7238 GB, free: 14.92 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000161/0.591, allocations: 128 kB / 0.7239 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002386/0.5934, allocations: 1.505 MB / 0.7254 GB, free: 13.21 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.5935, allocations: 0 / 0.7254 GB, free: 13.21 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001311/0.5936, allocations: 63.95 kB / 0.7254 GB, free: 13.15 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.563e-05/0.5936, allocations: 36 kB / 0.7255 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002549/0.5962, allocations: 1.579 MB / 0.727 GB, free: 11.53 MB / 0.545 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.007575/0.6038, allocations: 5.083 MB / 0.732 GB, free: 6.18 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002603/0.6064, allocations: 1.406 MB / 0.7333 GB, free: 4.734 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005942/0.607, allocations: 259.1 kB / 0.7336 GB, free: 4.445 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001223/0.6082, allocations: 0.6918 MB / 0.7343 GB, free: 3.738 MB / 0.545 GB Notification: Performance of pre-optimization done (n=107): time 2.985e-06/0.6083, allocations: 0 / 0.7343 GB, free: 3.738 MB / 0.545 GB Notification: Performance of matching and sorting (n=107): time 0.004215/0.6125, allocations: 1.665 MB / 0.7359 GB, free: 2.047 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.6126, allocations: 204.8 kB / 0.7361 GB, free: 1.801 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/0.6138, allocations: 0.8805 MB / 0.7369 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001223/0.6139, allocations: 49.69 kB / 0.737 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004489/0.6144, allocations: 0.5974 MB / 0.7376 GB, free: 244 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000296/0.6147, allocations: 354.9 kB / 0.7379 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.184e-05/0.6147, allocations: 20 kB / 0.7379 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.6149, allocations: 341.9 kB / 0.7383 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000733/0.6156, allocations: 377.8 kB / 0.7386 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008519/0.6165, allocations: 0.5554 MB / 0.7392 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008817/0.6174, allocations: 442.8 kB / 0.7396 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.6174, allocations: 4 kB / 0.7396 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002522/0.6199, allocations: 1.176 MB / 0.7407 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.381e-05/0.6199, allocations: 4 kB / 0.7407 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.62, allocations: 4 kB / 0.7407 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006054/0.6206, allocations: 93.12 kB / 0.7408 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/0.6217, allocations: 252.5 kB / 0.7411 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001966/0.6237, allocations: 1.553 MB / 0.7426 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/0.6249, allocations: 161.8 kB / 0.7427 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.89e-05/0.625, allocations: 39.97 kB / 0.7428 GB, free: 10.69 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000699/0.6257, allocations: 342.2 kB / 0.7431 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002409/0.626, allocations: 122.5 kB / 0.7432 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003092/0.6291, allocations: 1.442 MB / 0.7446 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.6291, allocations: 12 kB / 0.7446 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.6291, allocations: 0 / 0.7446 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/0.6291, allocations: 7.969 kB / 0.7446 GB, free: 8.754 MB / 0.5606 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.004839/0.634, allocations: 2.91 MB / 0.7475 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.634, allocations: 0 / 0.7475 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/0.635, allocations: 223.8 kB / 0.7477 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005257/0.6355, allocations: 88.72 kB / 0.7478 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.423e-05/0.6356, allocations: 39.97 kB / 0.7478 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00178/0.6374, allocations: 1.583 MB / 0.7494 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.6374, allocations: 0 / 0.7494 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002641/0.6401, allocations: 1.406 MB / 0.7507 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000662/0.6408, allocations: 375.1 kB / 0.7511 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000186/0.641, allocations: 24 kB / 0.7511 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/0.642, allocations: 115.8 kB / 0.7512 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/0.6422, allocations: 88.81 kB / 0.7513 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/0.6423, allocations: 55.95 kB / 0.7514 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000809/0.6431, allocations: 0.6072 MB / 0.752 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6431, allocations: 0 / 0.752 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001198/0.6443, allocations: 482.8 kB / 0.7524 GB, free: 472 kB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001471/0.6458, allocations: 0.6945 MB / 0.7531 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002156/0.648, allocations: 1.109 MB / 0.7542 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/0.648, allocations: 0 / 0.7542 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001198/0.6492, allocations: 0.6838 MB / 0.7549 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002123/0.6513, allocations: 478.9 kB / 0.7553 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005537/0.6569, allocations: 3.116 MB / 0.7584 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007534/0.6577, allocations: 1.236 MB / 0.7596 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001512/0.6592, allocations: 381.9 kB / 0.7599 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003497/0.6596, allocations: 139.4 kB / 0.7601 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of SimCode: time 5.81e-07/0.6596, allocations: 3.938 kB / 0.7601 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of Templates: time 0.03734/0.6969, allocations: 22.11 MB / 0.7817 GB, free: 2.93 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)