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.001531/0.001531, allocations: 102.8 kB / 16.4 MB, free: 6.492 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.001825/0.001825, allocations: 195.8 kB / 17.34 MB, free: 5.766 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: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7499/0.7499, allocations: 115.3 MB / 406.5 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 65.75 kB / 0.5577 GB, free: 32.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.1879, allocations: 76.18 MB / 0.6321 GB, free: 4.43 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.6647/0.8527, allocations: 176.8 MB / 0.8047 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0151/0.8678, allocations: 12.82 MB / 0.8172 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001555/0.8694, allocations: 36.44 kB / 0.8172 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001431/0.8708, allocations: 460.2 kB / 0.8177 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003028/0.874, allocations: 1.033 MB / 0.8187 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004778/0.8788, allocations: 1.88 MB / 0.8205 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003126/0.8819, allocations: 2.538 MB / 0.823 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002105/0.884, allocations: 1.594 MB / 0.8246 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003979/0.888, allocations: 1.425 MB / 0.8259 GB, free: 5.363 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001455/0.8895, allocations: 0.8839 MB / 0.8268 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002878/0.8898, allocations: 171.2 kB / 0.827 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003693/0.8935, allocations: 1.429 MB / 0.8284 GB, free: 4.234 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005482/0.894, allocations: 497.5 kB / 0.8288 GB, free: 3.875 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001152/0.8952, allocations: 0.8686 MB / 0.8297 GB, free: 3.281 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006771/0.902, allocations: 2.807 MB / 0.8324 GB, free: 1.484 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.073e-05/0.902, allocations: 0 / 0.8324 GB, free: 1.484 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.535e-06/0.902, allocations: 2.156 kB / 0.8324 GB, free: 1.484 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.205e-05/0.9021, allocations: 0 / 0.8324 GB, free: 1.484 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.003954/0.9061, allocations: 2.022 MB / 0.8344 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.9061, allocations: 10.19 kB / 0.8344 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002595/0.9087, allocations: 412.9 kB / 0.8348 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00176/0.9105, allocations: 1.032 MB / 0.8358 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.994e-05/0.9106, allocations: 101.7 kB / 0.8359 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001731/0.9108, allocations: 132.5 kB / 0.836 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002656/0.9134, allocations: 1.523 MB / 0.8375 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.79e-05/0.9135, allocations: 0 / 0.8375 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/0.9136, allocations: 58.62 kB / 0.8376 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.781e-05/0.9136, allocations: 33.16 kB / 0.8376 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002625/0.9163, allocations: 1.586 MB / 0.8392 GB, free: 13.11 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.007289/0.9236, allocations: 5.299 MB / 0.8443 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002645/0.9262, allocations: 1.518 MB / 0.8458 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008746/0.9271, allocations: 495 kB / 0.8463 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007517/0.9279, allocations: 430.4 kB / 0.8467 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001237/0.9291, allocations: 0.6919 MB / 0.8474 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=107): time 2.956e-06/0.9292, allocations: 0 / 0.8474 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of matching and sorting (n=107): time 0.004388/0.9336, allocations: 1.661 MB / 0.849 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.9337, allocations: 200.9 kB / 0.8492 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/0.9349, allocations: 0.8882 MB / 0.8501 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001037/0.935, allocations: 49.7 kB / 0.8501 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004981/0.9355, allocations: 0.5996 MB / 0.8507 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003185/0.9359, allocations: 358.2 kB / 0.851 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003481/0.9362, allocations: 214.8 kB / 0.8512 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.9363, allocations: 345.9 kB / 0.8516 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007959/0.9372, allocations: 398.4 kB / 0.852 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009837/0.9381, allocations: 0.5707 MB / 0.8525 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001768/0.9399, allocations: 0.9566 MB / 0.8534 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.9399, allocations: 0 / 0.8534 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002799/0.9427, allocations: 1.231 MB / 0.8546 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.9428, allocations: 7.938 kB / 0.8547 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/0.9428, allocations: 4.406 kB / 0.8547 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006007/0.9434, allocations: 91.34 kB / 0.8547 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/0.9446, allocations: 255.7 kB / 0.855 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002094/0.9467, allocations: 1.65 MB / 0.8566 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/0.9478, allocations: 138.8 kB / 0.8567 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/0.9479, allocations: 55.91 kB / 0.8568 GB, free: 12 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.0006315/0.9485, allocations: 339.3 kB / 0.8571 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002377/0.9488, allocations: 126.5 kB / 0.8572 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003149/0.9519, allocations: 1.425 MB / 0.8586 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.952, allocations: 15.94 kB / 0.8586 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.952, allocations: 0 / 0.8586 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.398e-05/0.952, allocations: 7.969 kB / 0.8586 GB, free: 10.07 MB / 0.6231 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.004813/0.9568, allocations: 2.882 MB / 0.8615 GB, free: 7.129 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.9568, allocations: 0 / 0.8615 GB, free: 7.129 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/0.9578, allocations: 219.7 kB / 0.8617 GB, free: 6.914 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004522/0.9583, allocations: 72.88 kB / 0.8617 GB, free: 6.84 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.84e-05/0.9584, allocations: 35.97 kB / 0.8618 GB, free: 6.805 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001913/0.9603, allocations: 1.674 MB / 0.8634 GB, free: 4.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.9603, allocations: 0 / 0.8634 GB, free: 4.98 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002896/0.9632, allocations: 1.318 MB / 0.8647 GB, free: 3.648 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007002/0.9639, allocations: 355.1 kB / 0.865 GB, free: 3.281 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001583/0.9641, allocations: 27.98 kB / 0.8651 GB, free: 3.254 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008761/0.965, allocations: 82.58 kB / 0.8651 GB, free: 3.176 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001769/0.9652, allocations: 88.81 kB / 0.8652 GB, free: 3.086 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/0.9653, allocations: 51.97 kB / 0.8653 GB, free: 3.035 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009373/0.9662, allocations: 0.615 MB / 0.8659 GB, free: 2.41 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.31e-07/0.9662, allocations: 4 kB / 0.8659 GB, free: 2.406 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001708/0.968, allocations: 498.9 kB / 0.8664 GB, free: 1.918 MB / 0.6231 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.001923/0.9699, allocations: 0.6973 MB / 0.867 GB, free: 1.426 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002533/0.9724, allocations: 1.156 MB / 0.8682 GB, free: 264 kB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.9725, allocations: 4 kB / 0.8682 GB, free: 260 kB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001265/0.9737, allocations: 0.6695 MB / 0.8688 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002518/0.9763, allocations: 0.5493 MB / 0.8694 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004362/0.9806, allocations: 2.322 MB / 0.8716 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008232/0.9815, allocations: 1.209 MB / 0.8728 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001415/0.9829, allocations: 382 kB / 0.8732 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003845/0.9833, allocations: 135.4 kB / 0.8733 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of SimCode: time 5.51e-07/0.9833, allocations: 0 / 0.8733 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of Templates: time 0.04447/1.028, allocations: 25.15 MB / 0.8979 GB, free: 2.125 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)