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.001293/0.001293, allocations: 116.6 kB / 17.09 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 189.6 kB / 18.02 MB, free: 5.094 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.218/1.218, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6679/0.6679, allocations: 115.3 MB / 407.2 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 64.45 kB / 0.5583 GB, free: 32.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1165, allocations: 76.18 MB / 0.6327 GB, free: 4.441 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.4418/0.5583, allocations: 176.8 MB / 0.8053 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01321/0.5716, allocations: 12.83 MB / 0.8179 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001301/0.5729, allocations: 26 kB / 0.8179 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001409/0.5743, allocations: 470.8 kB / 0.8183 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002884/0.5773, allocations: 1.03 MB / 0.8194 GB, free: 9.656 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004646/0.5819, allocations: 1.87 MB / 0.8212 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003158/0.5851, allocations: 2.539 MB / 0.8237 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002362/0.5875, allocations: 1.603 MB / 0.8252 GB, free: 5.988 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00359/0.5911, allocations: 1.43 MB / 0.8266 GB, free: 5.246 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0013/0.5924, allocations: 0.8777 MB / 0.8275 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003251/0.5927, allocations: 172.7 kB / 0.8276 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002712/0.5955, allocations: 1.429 MB / 0.829 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005045/0.596, allocations: 483.9 kB / 0.8295 GB, free: 3.773 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001066/0.5971, allocations: 0.8844 MB / 0.8304 GB, free: 3.168 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003889/0.6009, allocations: 2.798 MB / 0.8331 GB, free: 1.379 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.601, allocations: 4 kB / 0.8331 GB, free: 1.375 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.402e-06/0.601, allocations: 0 / 0.8331 GB, free: 1.375 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001106/0.6011, allocations: 0 / 0.8331 GB, free: 1.375 MB / 0.5919 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.004518/0.6056, allocations: 2.029 MB / 0.8351 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.6057, allocations: 7.812 kB / 0.8351 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002966/0.6086, allocations: 411.3 kB / 0.8355 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001799/0.6105, allocations: 1.037 MB / 0.8365 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.62e-05/0.6105, allocations: 101.9 kB / 0.8366 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001808/0.6107, allocations: 142.7 kB / 0.8367 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002596/0.6133, allocations: 1.515 MB / 0.8382 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/0.6134, allocations: 5.75 kB / 0.8382 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000147/0.6135, allocations: 59.56 kB / 0.8383 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.509e-05/0.6136, allocations: 32.38 kB / 0.8383 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002544/0.6161, allocations: 1.59 MB / 0.8399 GB, free: 13.03 MB / 0.6075 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.006837/0.623, allocations: 5.294 MB / 0.845 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002469/0.6254, allocations: 1.523 MB / 0.8465 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008302/0.6263, allocations: 480.6 kB / 0.847 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006999/0.627, allocations: 432.6 kB / 0.8474 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001203/0.6282, allocations: 0.6976 MB / 0.8481 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=107): time 3.126e-06/0.6282, allocations: 4 kB / 0.8481 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of matching and sorting (n=107): time 0.004142/0.6324, allocations: 1.657 MB / 0.8497 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.788e-05/0.6325, allocations: 192.9 kB / 0.8499 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/0.6336, allocations: 0.8998 MB / 0.8507 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001126/0.6337, allocations: 49.7 kB / 0.8508 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004397/0.6342, allocations: 0.6005 MB / 0.8514 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002855/0.6344, allocations: 354.3 kB / 0.8517 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003169/0.6348, allocations: 214.7 kB / 0.8519 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.6349, allocations: 345.9 kB / 0.8523 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007874/0.6357, allocations: 402.4 kB / 0.8526 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009335/0.6366, allocations: 0.5684 MB / 0.8532 GB, free: 460 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001711/0.6384, allocations: 0.9527 MB / 0.8541 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.6384, allocations: 0 / 0.8541 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002644/0.641, allocations: 1.231 MB / 0.8553 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.641, allocations: 11.94 kB / 0.8553 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.6411, allocations: 4 kB / 0.8553 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005762/0.6416, allocations: 89.17 kB / 0.8554 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/0.6428, allocations: 255.6 kB / 0.8557 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0021/0.6449, allocations: 1.644 MB / 0.8573 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/0.6459, allocations: 146.8 kB / 0.8574 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/0.646, allocations: 47.97 kB / 0.8575 GB, free: 11.88 MB / 0.6231 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.000525/0.6465, allocations: 339.3 kB / 0.8578 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000247/0.6468, allocations: 130.5 kB / 0.8579 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003046/0.6498, allocations: 1.437 MB / 0.8593 GB, free: 9.957 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/0.6499, allocations: 3.984 kB / 0.8593 GB, free: 9.953 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.706e-06/0.6499, allocations: 0 / 0.8593 GB, free: 9.953 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004922/0.6504, allocations: 359.2 kB / 0.8597 GB, free: 9.582 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001885/0.6506, allocations: 23.98 kB / 0.8597 GB, free: 9.559 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008947/0.6515, allocations: 82.58 kB / 0.8598 GB, free: 9.48 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001638/0.6516, allocations: 80.88 kB / 0.8598 GB, free: 9.398 MB / 0.6231 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002827/0.6545, allocations: 1.308 MB / 0.8611 GB, free: 8.102 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003104/0.6576, allocations: 1.926 MB / 0.863 GB, free: 6.156 MB / 0.6231 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008143/0.6584, allocations: 0.5076 MB / 0.8635 GB, free: 5.652 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007366/0.6592, allocations: 0.615 MB / 0.8641 GB, free: 5.027 MB / 0.6231 GB Notification: Performance of Backend: time 2.81e-07/0.6592, allocations: 0 / 0.8641 GB, free: 5.027 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00398/0.6632, allocations: 1.687 MB / 0.8657 GB, free: 3.602 MB / 0.6231 GB Notification: Performance of SimCode: time 0.004047/0.6672, allocations: 2.803 MB / 0.8685 GB, free: 0.7656 MB / 0.6231 GB Notification: Performance of Templates: time 0.0403/0.7075, allocations: 27.75 MB / 0.8956 GB, free: 5.305 MB / 0.6544 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)