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.001535/0.001535, allocations: 107.6 kB / 16.52 MB, free: 6.703 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.001544/0.001544, allocations: 199.1 kB / 17.44 MB, free: 6.066 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.326/1.326, allocations: 222.9 MB / 241.1 MB, free: 15.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7571/0.7571, allocations: 115.3 MB / 406.6 MB, free: 6.438 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 63.91 kB / 493.5 MB, free: 0.875 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3602/0.3616, allocations: 76.18 MB / 0.5564 GB, free: 36.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1891/0.5508, allocations: 174.5 MB / 0.7267 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01894/0.5698, allocations: 12.85 MB / 0.7393 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002161/0.572, allocations: 35.81 kB / 0.7393 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00201/0.5741, allocations: 373.5 kB / 0.7397 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003915/0.578, allocations: 0.9206 MB / 0.7406 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005127/0.5832, allocations: 1.672 MB / 0.7422 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004059/0.5872, allocations: 2.877 MB / 0.745 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002742/0.59, allocations: 1.455 MB / 0.7464 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005437/0.5955, allocations: 1.27 MB / 0.7477 GB, free: 128 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3665/0.9619, allocations: 0.8509 MB / 0.7485 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005986/0.9626, allocations: 90.56 kB / 0.7486 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004024/0.9666, allocations: 1.462 MB / 0.75 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000667/0.9673, allocations: 412.6 kB / 0.7504 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001469/0.9688, allocations: 0.7996 MB / 0.7512 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00396/0.9728, allocations: 2.047 MB / 0.7532 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.9728, allocations: 0 / 0.7532 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.803e-06/0.9728, allocations: 1.125 kB / 0.7532 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.672e-05/0.9729, allocations: 0 / 0.7532 GB, free: 5.121 MB / 0.5762 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.005157/0.978, allocations: 2.031 MB / 0.7552 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/0.9781, allocations: 13.55 kB / 0.7552 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00313/0.9812, allocations: 409.3 kB / 0.7556 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002033/0.9833, allocations: 0.9852 MB / 0.7566 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/0.9834, allocations: 104.3 kB / 0.7567 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002389/0.9836, allocations: 130 kB / 0.7568 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003259/0.9869, allocations: 1.529 MB / 0.7583 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.14e-05/0.987, allocations: 1.125 kB / 0.7583 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001468/0.9871, allocations: 59.73 kB / 0.7583 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.392e-05/0.9872, allocations: 34.66 kB / 0.7584 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003371/0.9905, allocations: 1.583 MB / 0.7599 GB, free: 3.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 preOpt removeSimpleEquations (simulation): time 0.00829/0.9988, allocations: 5.327 MB / 0.7651 GB, free: 16.9 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002752/1.002, allocations: 1.514 MB / 0.7666 GB, free: 16.48 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008582/1.002, allocations: 490.9 kB / 0.7671 GB, free: 16.46 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007796/1.003, allocations: 420 kB / 0.7675 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001321/1.005, allocations: 0.6937 MB / 0.7681 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=107): time 2.665e-06/1.005, allocations: 0 / 0.7681 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=107): time 0.004836/1.009, allocations: 1.676 MB / 0.7698 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/1.01, allocations: 192.3 kB / 0.77 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001567/1.011, allocations: 0.8959 MB / 0.7708 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001862/1.011, allocations: 46.36 kB / 0.7709 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005344/1.012, allocations: 0.5951 MB / 0.7715 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000304/1.012, allocations: 351.3 kB / 0.7718 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003764/1.013, allocations: 225.3 kB / 0.772 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001384/1.013, allocations: 342.3 kB / 0.7723 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000834/1.014, allocations: 401.7 kB / 0.7727 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009934/1.015, allocations: 0.5672 MB / 0.7733 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001801/1.016, allocations: 0.9588 MB / 0.7742 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/1.016, allocations: 1.375 kB / 0.7742 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003185/1.02, allocations: 1.231 MB / 0.7754 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.827e-05/1.02, allocations: 6.188 kB / 0.7754 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/1.02, allocations: 6.859 kB / 0.7754 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006478/1.02, allocations: 90.23 kB / 0.7755 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/1.021, allocations: 252.9 kB / 0.7757 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002103/1.024, allocations: 1.546 MB / 0.7773 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001581/1.025, allocations: 158.2 kB / 0.7774 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/1.025, allocations: 46.72 kB / 0.7775 GB, free: 12.79 MB / 0.5919 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.000812/1.026, allocations: 342.7 kB / 0.7778 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002923/1.026, allocations: 123 kB / 0.7779 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002969/1.029, allocations: 1.44 MB / 0.7793 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/1.029, allocations: 13.12 kB / 0.7793 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/1.029, allocations: 0 / 0.7793 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/1.029, allocations: 9.047 kB / 0.7793 GB, free: 12.48 MB / 0.5919 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.004714/1.034, allocations: 2.872 MB / 0.7821 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/1.034, allocations: 5.094 kB / 0.7821 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009538/1.035, allocations: 218.3 kB / 0.7823 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005193/1.036, allocations: 86.03 kB / 0.7824 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.807e-05/1.036, allocations: 31.77 kB / 0.7825 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001833/1.038, allocations: 1.554 MB / 0.784 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/1.038, allocations: 6.844 kB / 0.784 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002742/1.04, allocations: 1.336 MB / 0.7853 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007691/1.041, allocations: 355 kB / 0.7856 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001906/1.041, allocations: 19.53 kB / 0.7856 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/1.042, allocations: 110.1 kB / 0.7857 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001894/1.043, allocations: 86.16 kB / 0.7858 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001063/1.043, allocations: 52.56 kB / 0.7859 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008668/1.044, allocations: 0.6162 MB / 0.7865 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2e-07/1.044, allocations: 0 / 0.7865 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001677/1.045, allocations: 494.1 kB / 0.787 GB, free: 10.05 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 (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.001712/1.047, allocations: 0.7198 MB / 0.7877 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002294/1.049, allocations: 1.138 MB / 0.7888 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/1.049, allocations: 0 / 0.7888 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001161/1.05, allocations: 0.682 MB / 0.7894 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002518/1.053, allocations: 499.5 kB / 0.7899 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004866/1.058, allocations: 3.009 MB / 0.7928 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007903/1.059, allocations: 1.205 MB / 0.794 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005818/1.059, allocations: 160.6 kB / 0.7942 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of SimCode: time 7.92e-07/1.059, allocations: 0 / 0.7942 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of Templates: time 0.03995/1.099, allocations: 28.39 MB / 0.8219 GB, free: 8.027 MB / 0.6075 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)