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.0008124/0.0008125, allocations: 92.86 kB / 15.7 MB, free: 472 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.0009511/0.0009511, allocations: 172.9 kB / 16.58 MB, free: 6 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.348/1.348, allocations: 223.3 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6943/0.6943, allocations: 115.5 MB / 407.2 MB, free: 2.824 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002999/0.0002999, allocations: 11.98 kB / 495.2 MB, free: 6.734 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1342, allocations: 77.53 MB / 0.5593 GB, free: 9.402 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.4131/0.5473, allocations: 160.6 MB / 0.7161 GB, free: 6.766 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01597/0.5633, allocations: 11.9 MB / 0.7277 GB, free: 10.83 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001077/0.5644, allocations: 31.81 kB / 0.7278 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001073/0.5655, allocations: 329.6 kB / 0.7281 GB, free: 10.47 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00241/0.5679, allocations: 0.8559 MB / 0.7289 GB, free: 9.617 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003662/0.5716, allocations: 1.374 MB / 0.7303 GB, free: 8.254 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002852/0.5745, allocations: 2.535 MB / 0.7327 GB, free: 5.711 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001711/0.5762, allocations: 1.16 MB / 0.7339 GB, free: 4.516 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002142/0.5784, allocations: 1.066 MB / 0.7349 GB, free: 3.445 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009492/0.5793, allocations: 0.696 MB / 0.7356 GB, free: 2.746 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000127/0.5795, allocations: 44 kB / 0.7356 GB, free: 2.703 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002071/0.5815, allocations: 0.8929 MB / 0.7365 GB, free: 1.809 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003342/0.5819, allocations: 326.8 kB / 0.7368 GB, free: 1.488 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003331/0.5822, allocations: 316.8 kB / 0.7371 GB, free: 1.172 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002119/0.5844, allocations: 1.956 MB / 0.739 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.5844, allocations: 0 / 0.739 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5844, allocations: 0 / 0.739 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.147e-05/0.5844, allocations: 0 / 0.739 GB, free: 15.21 MB / 0.5606 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.002971/0.5874, allocations: 1.721 MB / 0.7407 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.5874, allocations: 8.031 kB / 0.7407 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002523/0.59, allocations: 413.6 kB / 0.7411 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001489/0.5915, allocations: 0.9573 MB / 0.7421 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.103e-05/0.5916, allocations: 102.7 kB / 0.7422 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001711/0.5917, allocations: 131.9 kB / 0.7423 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002569/0.5943, allocations: 1.514 MB / 0.7438 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/0.5943, allocations: 3.938 kB / 0.7438 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000141/0.5945, allocations: 63.95 kB / 0.7438 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-05/0.5945, allocations: 39.98 kB / 0.7439 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002673/0.5972, allocations: 1.579 MB / 0.7454 GB, free: 8.504 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 preOpt removeSimpleEquations (simulation): time 0.007217/0.6044, allocations: 5.35 MB / 0.7506 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002519/0.607, allocations: 1.525 MB / 0.7521 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008494/0.6079, allocations: 479.6 kB / 0.7526 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007384/0.6086, allocations: 441.3 kB / 0.753 GB, free: 264 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00124/0.6099, allocations: 0.688 MB / 0.7537 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=107): time 2.936e-06/0.6099, allocations: 3.938 kB / 0.7537 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of matching and sorting (n=107): time 0.004198/0.6141, allocations: 1.672 MB / 0.7553 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.553e-05/0.6142, allocations: 200.9 kB / 0.7555 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/0.6154, allocations: 0.8881 MB / 0.7564 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.046e-05/0.6155, allocations: 49.7 kB / 0.7564 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004718/0.616, allocations: 0.5935 MB / 0.757 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000283/0.6162, allocations: 350.9 kB / 0.7573 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.428e-05/0.6163, allocations: 20 kB / 0.7573 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.6165, allocations: 345.9 kB / 0.7577 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008502/0.6173, allocations: 398.4 kB / 0.7581 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000953/0.6183, allocations: 0.5707 MB / 0.7586 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008915/0.6192, allocations: 462.8 kB / 0.759 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.6192, allocations: 4 kB / 0.7591 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002528/0.6217, allocations: 1.231 MB / 0.7603 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/0.6218, allocations: 10.5 kB / 0.7603 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.6218, allocations: 3.953 kB / 0.7603 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005446/0.6223, allocations: 88.84 kB / 0.7604 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/0.6235, allocations: 255.6 kB / 0.7606 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001952/0.6254, allocations: 1.547 MB / 0.7621 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/0.6265, allocations: 162.9 kB / 0.7623 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.626e-05/0.6266, allocations: 47.97 kB / 0.7623 GB, free: 6.375 MB / 0.5762 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 ($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,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (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.0005945/0.6272, allocations: 355.3 kB / 0.7626 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001795/0.6274, allocations: 122.5 kB / 0.7628 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003158/0.6305, allocations: 1.444 MB / 0.7642 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.6306, allocations: 12 kB / 0.7642 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.6306, allocations: 0 / 0.7642 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.6306, allocations: 7.984 kB / 0.7642 GB, free: 4.426 MB / 0.5762 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.004579/0.6352, allocations: 2.862 MB / 0.767 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.545e-06/0.6352, allocations: 3.953 kB / 0.767 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009951/0.6362, allocations: 231.7 kB / 0.7672 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000475/0.6367, allocations: 80.78 kB / 0.7673 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.946e-05/0.6368, allocations: 39.91 kB / 0.7673 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001766/0.6386, allocations: 1.556 MB / 0.7688 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.6386, allocations: 4.062 kB / 0.7689 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002544/0.6411, allocations: 1.324 MB / 0.7701 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005558/0.6417, allocations: 367.1 kB / 0.7705 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001666/0.6419, allocations: 24 kB / 0.7705 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009622/0.6428, allocations: 117.4 kB / 0.7706 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/0.643, allocations: 88.86 kB / 0.7707 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/0.6431, allocations: 51.97 kB / 0.7708 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000837/0.644, allocations: 0.6072 MB / 0.7714 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.61e-07/0.644, allocations: 0 / 0.7714 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001243/0.6452, allocations: 0.4987 MB / 0.7718 GB, free: 12.31 MB / 0.5919 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 (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.00154/0.6468, allocations: 0.7089 MB / 0.7725 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002275/0.6491, allocations: 1.14 MB / 0.7737 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.6491, allocations: 4 kB / 0.7737 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001198/0.6503, allocations: 0.6836 MB / 0.7743 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002071/0.6524, allocations: 494.1 kB / 0.7748 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004328/0.6567, allocations: 2.929 MB / 0.7777 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007746/0.6575, allocations: 1.21 MB / 0.7788 GB, free: 5.277 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001462/0.659, allocations: 389.8 kB / 0.7792 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003757/0.6594, allocations: 139.3 kB / 0.7793 GB, free: 4.758 MB / 0.5919 GB Notification: Performance of SimCode: time 8.21e-07/0.6594, allocations: 4 kB / 0.7793 GB, free: 4.754 MB / 0.5919 GB Notification: Performance of Templates: time 0.03806/0.6974, allocations: 22.69 MB / 0.8015 GB, free: 14.38 MB / 0.6231 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)