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.001049/0.001049, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.001147/0.001147, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.298/1.298, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002218/0.002218, allocations: 298.9 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.941/0.941, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001817/0.001818, allocations: 91.86 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4025/0.4044, allocations: 86.98 MB / 0.767 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1739/0.5783, allocations: 176 MB / 0.939 GB, free: 3.207 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01654/0.5948, allocations: 12.73 MB / 0.9514 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001103/0.596, allocations: 35.81 kB / 0.9514 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00139/0.5974, allocations: 452.6 kB / 0.9519 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003031/0.6005, allocations: 0.9901 MB / 0.9528 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004528/0.605, allocations: 1.883 MB / 0.9547 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002755/0.6078, allocations: 2.419 MB / 0.957 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3789/0.9867, allocations: 1.621 MB / 0.9586 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004622/0.9914, allocations: 1.44 MB / 0.96 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001872/0.9933, allocations: 0.863 MB / 0.9609 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0004043/0.9937, allocations: 171.8 kB / 0.961 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002907/0.9966, allocations: 1.423 MB / 0.9624 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004873/0.9971, allocations: 498.8 kB / 0.9629 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0009607/0.9981, allocations: 0.8487 MB / 0.9637 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003802/1.002, allocations: 2.765 MB / 0.9664 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/1.002, allocations: 0.875 kB / 0.9664 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.653e-06/1.002, allocations: 0 / 0.9664 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.77e-05/1.002, allocations: 1.562 kB / 0.9664 GB, free: 3.098 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.003518/1.006, allocations: 2.007 MB / 0.9684 GB, free: 18.11 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/1.006, allocations: 10.69 kB / 0.9684 GB, free: 18.11 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00268/1.008, allocations: 404.1 kB / 0.9688 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001566/1.01, allocations: 1.025 MB / 0.9698 GB, free: 17.67 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.524e-05/1.01, allocations: 103.4 kB / 0.9699 GB, free: 17.67 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001686/1.01, allocations: 132.2 kB / 0.97 GB, free: 17.67 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002305/1.012, allocations: 1.524 MB / 0.9715 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.55e-05/1.012, allocations: 4.062 kB / 0.9715 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001322/1.013, allocations: 62.34 kB / 0.9716 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.459e-05/1.013, allocations: 36.56 kB / 0.9716 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002348/1.015, allocations: 1.581 MB / 0.9731 GB, free: 17.43 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.006359/1.021, allocations: 5.029 MB / 0.978 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002337/1.024, allocations: 1.526 MB / 0.9795 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007403/1.024, allocations: 478.9 kB / 0.98 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007253/1.025, allocations: 426.1 kB / 0.9804 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001103/1.026, allocations: 0.6967 MB / 0.9811 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=107): time 2.936e-06/1.026, allocations: 0 / 0.9811 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of matching and sorting (n=107): time 0.004042/1.03, allocations: 1.665 MB / 0.9827 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.267e-05/1.03, allocations: 196.5 kB / 0.9829 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/1.032, allocations: 0.8922 MB / 0.9838 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001054/1.032, allocations: 52.3 kB / 0.9838 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000364/1.032, allocations: 0.5892 MB / 0.9844 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002102/1.032, allocations: 355.7 kB / 0.9847 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002826/1.033, allocations: 219 kB / 0.9849 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001217/1.033, allocations: 346.3 kB / 0.9853 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000704/1.033, allocations: 402.5 kB / 0.9856 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008204/1.034, allocations: 0.5713 MB / 0.9862 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001516/1.036, allocations: 0.9542 MB / 0.9871 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/1.036, allocations: 2.094 kB / 0.9871 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002495/1.038, allocations: 1.231 MB / 0.9883 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/1.038, allocations: 9.219 kB / 0.9883 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/1.038, allocations: 2.344 kB / 0.9884 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005848/1.039, allocations: 86.78 kB / 0.9884 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/1.04, allocations: 257.9 kB / 0.9887 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001963/1.042, allocations: 1.652 MB / 0.9903 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/1.043, allocations: 131.8 kB / 0.9904 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.853e-05/1.043, allocations: 49.61 kB / 0.9905 GB, free: 11.1 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.0006414/1.044, allocations: 344.6 kB / 0.9908 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002512/1.044, allocations: 124.3 kB / 0.9909 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002871/1.047, allocations: 1.43 MB / 0.9923 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/1.047, allocations: 5.672 kB / 0.9923 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/1.047, allocations: 3.406 kB / 0.9923 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005707/1.048, allocations: 358.4 kB / 0.9927 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000179/1.048, allocations: 26.89 kB / 0.9927 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008683/1.049, allocations: 82.42 kB / 0.9928 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001702/1.049, allocations: 79.86 kB / 0.9928 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002819/1.052, allocations: 1.302 MB / 0.9941 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003171/1.055, allocations: 1.937 MB / 0.996 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008281/1.056, allocations: 0.4983 MB / 0.9965 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009573/1.057, allocations: 0.6183 MB / 0.9971 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of Backend: time 1.683e-06/1.057, allocations: 0 / 0.9971 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004794/1.061, allocations: 1.696 MB / 0.9988 GB, free: 9.703 MB / 0.7325 GB Notification: Performance of SimCode: time 0.004541/1.066, allocations: 2.792 MB / 1.001 GB, free: 8.324 MB / 0.7325 GB Notification: Performance of Templates: time 0.04327/1.109, allocations: 27.39 MB / 1.028 GB, free: 15.39 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)