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.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001099/0.001099, allocations: 111.9 kB / 16.42 MB, free: 6.457 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.001133/0.001134, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002089/0.002089, allocations: 296.8 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9404/0.9404, allocations: 169.2 MB / 0.499 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001725/0.001725, allocations: 87.86 kB / 0.6821 GB, free: 7.023 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.3837, allocations: 86.99 MB / 0.7671 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1679/0.5516, allocations: 176 MB / 0.939 GB, free: 3.254 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01537/0.567, allocations: 12.73 MB / 0.9514 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001076/0.5681, allocations: 31.81 kB / 0.9514 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001236/0.5694, allocations: 444.7 kB / 0.9518 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002463/0.5719, allocations: 0.9785 MB / 0.9528 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003972/0.5759, allocations: 1.853 MB / 0.9546 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002326/0.5782, allocations: 2.408 MB / 0.957 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3782/0.9564, allocations: 1.631 MB / 0.9586 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004188/0.9607, allocations: 1.418 MB / 0.9599 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001491/0.9622, allocations: 0.8664 MB / 0.9608 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003083/0.9625, allocations: 173.2 kB / 0.9609 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002545/0.965, allocations: 1.424 MB / 0.9623 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004188/0.9655, allocations: 497.5 kB / 0.9628 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008195/0.9663, allocations: 0.8483 MB / 0.9636 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00357/0.9699, allocations: 2.758 MB / 0.9663 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.9699, allocations: 0 / 0.9663 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9699, allocations: 2.344 kB / 0.9663 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.394e-05/0.9699, allocations: 0 / 0.9663 GB, free: 3.191 MB / 0.7169 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.00335/0.9733, allocations: 2.018 MB / 0.9683 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.9733, allocations: 8.25 kB / 0.9683 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002598/0.9759, allocations: 409.1 kB / 0.9687 GB, free: 18.11 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001411/0.9774, allocations: 1.023 MB / 0.9697 GB, free: 17.76 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.792e-05/0.9775, allocations: 100.8 kB / 0.9698 GB, free: 17.76 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001637/0.9776, allocations: 131.4 kB / 0.9699 GB, free: 17.76 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002249/0.9799, allocations: 1.53 MB / 0.9714 GB, free: 17.53 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/0.9799, allocations: 3.188 kB / 0.9714 GB, free: 17.53 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001455/0.9801, allocations: 58.72 kB / 0.9715 GB, free: 17.53 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.063e-05/0.9801, allocations: 36.59 kB / 0.9715 GB, free: 17.53 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002259/0.9824, allocations: 1.58 MB / 0.9731 GB, free: 17.52 MB / 0.7325 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.006194/0.9886, allocations: 5.029 MB / 0.978 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002304/0.9909, allocations: 1.525 MB / 0.9795 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007447/0.9917, allocations: 479.6 kB / 0.9799 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007479/0.9924, allocations: 425.3 kB / 0.9803 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001086/0.9935, allocations: 0.6903 MB / 0.981 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=107): time 3.717e-06/0.9935, allocations: 2.938 kB / 0.981 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of matching and sorting (n=107): time 0.003942/0.9975, allocations: 1.668 MB / 0.9826 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.59e-05/0.9976, allocations: 197 kB / 0.9828 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000995/0.9986, allocations: 0.8936 MB / 0.9837 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.632e-05/0.9987, allocations: 52.25 kB / 0.9837 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003603/0.9991, allocations: 0.5847 MB / 0.9843 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002082/0.9993, allocations: 355.8 kB / 0.9846 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002777/0.9996, allocations: 215.6 kB / 0.9849 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.9997, allocations: 350.8 kB / 0.9852 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006962/1, allocations: 396.8 kB / 0.9856 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007993/1.001, allocations: 0.5748 MB / 0.9861 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001472/1.003, allocations: 0.9562 MB / 0.9871 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/1.003, allocations: 0 / 0.9871 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002429/1.005, allocations: 1.234 MB / 0.9883 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/1.005, allocations: 7.844 kB / 0.9883 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/1.005, allocations: 3.188 kB / 0.9883 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005759/1.006, allocations: 97.33 kB / 0.9884 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/1.007, allocations: 251.8 kB / 0.9886 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001997/1.009, allocations: 1.651 MB / 0.9902 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/1.01, allocations: 136.4 kB / 0.9904 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.465e-05/1.01, allocations: 49.17 kB / 0.9904 GB, free: 11.2 MB / 0.7325 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.0005723/1.011, allocations: 344.9 kB / 0.9907 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002081/1.011, allocations: 121.7 kB / 0.9908 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002843/1.014, allocations: 1.429 MB / 0.9922 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/1.014, allocations: 6.469 kB / 0.9922 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/1.014, allocations: 2.469 kB / 0.9922 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004574/1.014, allocations: 356.6 kB / 0.9926 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001686/1.014, allocations: 22.44 kB / 0.9926 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008712/1.015, allocations: 87.52 kB / 0.9927 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/1.015, allocations: 83.45 kB / 0.9928 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002613/1.018, allocations: 1.303 MB / 0.994 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002826/1.021, allocations: 1.932 MB / 0.9959 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007338/1.022, allocations: 0.4988 MB / 0.9964 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007015/1.022, allocations: 0.618 MB / 0.997 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of Backend: time 3.21e-07/1.022, allocations: 2.312 kB / 0.997 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004132/1.026, allocations: 1.694 MB / 0.9987 GB, free: 9.797 MB / 0.7325 GB Notification: Performance of SimCode: time 0.003898/1.03, allocations: 2.781 MB / 1.001 GB, free: 8.422 MB / 0.7325 GB Notification: Performance of Templates: time 0.04295/1.073, allocations: 27.38 MB / 1.028 GB, free: 15.56 MB / 0.7481 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)