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.00105/0.00105, allocations: 108.4 kB / 17.03 MB, free: 5.656 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.001063/0.001063, allocations: 193.4 kB / 17.97 MB, free: 5.062 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.301/1.301, allocations: 222.9 MB / 241.6 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.719/0.719, allocations: 115.1 MB / 406.9 MB, free: 6.32 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 63.89 kB / 494.8 MB, free: 15.85 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3249, allocations: 76.14 MB / 0.5576 GB, free: 36.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1989/0.5238, allocations: 176.8 MB / 0.7302 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02533/0.5492, allocations: 12.82 MB / 0.7427 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001785/0.551, allocations: 31.81 kB / 0.7427 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001853/0.5529, allocations: 460.4 kB / 0.7432 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003776/0.5568, allocations: 1.04 MB / 0.7442 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004381/0.5611, allocations: 1.877 MB / 0.746 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002905/0.5641, allocations: 2.53 MB / 0.7485 GB, free: 416 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.294/0.858, allocations: 1.593 MB / 0.75 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003699/0.8618, allocations: 1.412 MB / 0.7514 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001316/0.8631, allocations: 0.8797 MB / 0.7523 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003381/0.8635, allocations: 176 kB / 0.7524 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002906/0.8664, allocations: 1.425 MB / 0.7538 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005468/0.8669, allocations: 492.8 kB / 0.7543 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001168/0.8681, allocations: 0.8791 MB / 0.7552 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00439/0.8725, allocations: 2.803 MB / 0.7579 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.8725, allocations: 0.9375 kB / 0.7579 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.755e-06/0.8726, allocations: 0 / 0.7579 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.788e-05/0.8726, allocations: 2.062 kB / 0.7579 GB, free: 3.102 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.004356/0.877, allocations: 2.021 MB / 0.7599 GB, free: 18.11 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.877, allocations: 9.625 kB / 0.7599 GB, free: 18.11 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002883/0.8799, allocations: 412 kB / 0.7603 GB, free: 18.02 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001948/0.8819, allocations: 1.022 MB / 0.7613 GB, free: 17.67 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.862e-05/0.882, allocations: 106.5 kB / 0.7614 GB, free: 17.66 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002403/0.8822, allocations: 131.2 kB / 0.7615 GB, free: 17.66 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002816/0.8851, allocations: 1.524 MB / 0.763 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.164e-05/0.8851, allocations: 3.188 kB / 0.763 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001447/0.8853, allocations: 57.69 kB / 0.763 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.237e-05/0.8853, allocations: 35.78 kB / 0.7631 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002792/0.8881, allocations: 1.581 MB / 0.7646 GB, free: 17.43 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 preOpt removeSimpleEquations (simulation): time 0.008147/0.8963, allocations: 5.299 MB / 0.7698 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002573/0.8989, allocations: 1.518 MB / 0.7713 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009012/0.8998, allocations: 480.2 kB / 0.7717 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007807/0.9006, allocations: 425.4 kB / 0.7721 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001286/0.9019, allocations: 0.6957 MB / 0.7728 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=107): time 2.846e-06/0.9019, allocations: 0 / 0.7728 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of matching and sorting (n=107): time 0.004597/0.9065, allocations: 1.665 MB / 0.7745 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.9066, allocations: 198.7 kB / 0.7746 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001367/0.908, allocations: 0.8907 MB / 0.7755 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001491/0.9081, allocations: 53.91 kB / 0.7756 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004388/0.9086, allocations: 0.5919 MB / 0.7761 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002465/0.9088, allocations: 353.7 kB / 0.7765 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003424/0.9092, allocations: 217.5 kB / 0.7767 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.9093, allocations: 346.6 kB / 0.777 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00071/0.91, allocations: 397.6 kB / 0.7774 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008367/0.9109, allocations: 0.5672 MB / 0.778 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001525/0.9124, allocations: 0.9572 MB / 0.7789 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.279e-06/0.9124, allocations: 1.812 kB / 0.7789 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00256/0.915, allocations: 1.237 MB / 0.7801 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.915, allocations: 7.625 kB / 0.7801 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.915, allocations: 5.812 kB / 0.7801 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000596/0.9156, allocations: 89.53 kB / 0.7802 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/0.9168, allocations: 259.1 kB / 0.7804 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001964/0.9187, allocations: 1.656 MB / 0.7821 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/0.92, allocations: 130.1 kB / 0.7822 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.9201, allocations: 53.55 kB / 0.7822 GB, free: 10.77 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.0006291/0.9207, allocations: 343.5 kB / 0.7826 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002539/0.921, allocations: 121.9 kB / 0.7827 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002947/0.9239, allocations: 1.436 MB / 0.7841 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.9239, allocations: 13.81 kB / 0.7841 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.924, allocations: 0 / 0.7841 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.924, allocations: 6.734 kB / 0.7841 GB, free: 10.47 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.004537/0.9285, allocations: 2.869 MB / 0.7869 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.9285, allocations: 0.8125 kB / 0.7869 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009645/0.9295, allocations: 223.9 kB / 0.7871 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004392/0.93, allocations: 81.94 kB / 0.7872 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.189e-05/0.9301, allocations: 32.89 kB / 0.7872 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001804/0.9319, allocations: 1.664 MB / 0.7888 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.9319, allocations: 3.531 kB / 0.7889 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00257/0.9345, allocations: 1.326 MB / 0.7901 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009437/0.9354, allocations: 354.3 kB / 0.7905 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003267/0.9358, allocations: 28.97 kB / 0.7905 GB, free: 8.164 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/0.9368, allocations: 86.94 kB / 0.7906 GB, free: 8.16 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002293/0.9371, allocations: 81.36 kB / 0.7907 GB, free: 8.16 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001144/0.9372, allocations: 54.72 kB / 0.7907 GB, free: 8.16 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009182/0.9381, allocations: 0.6182 MB / 0.7913 GB, free: 8.051 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.7e-07/0.9381, allocations: 1.531 kB / 0.7913 GB, free: 8.051 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001594/0.9397, allocations: 0.4901 MB / 0.7918 GB, free: 7.969 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.001654/0.9414, allocations: 0.7113 MB / 0.7925 GB, free: 7.793 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002281/0.9437, allocations: 1.148 MB / 0.7936 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/0.9437, allocations: 3.844 kB / 0.7936 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00114/0.9449, allocations: 0.6814 MB / 0.7943 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002215/0.9471, allocations: 0.5237 MB / 0.7948 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004115/0.9512, allocations: 2.321 MB / 0.7971 GB, free: 6.625 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007438/0.952, allocations: 1.21 MB / 0.7983 GB, free: 5.91 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001542/0.9535, allocations: 394.4 kB / 0.7986 GB, free: 5.844 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000398/0.9539, allocations: 139.8 kB / 0.7988 GB, free: 5.836 MB / 0.5919 GB Notification: Performance of SimCode: time 6.72e-07/0.954, allocations: 1.203 kB / 0.7988 GB, free: 5.836 MB / 0.5919 GB Notification: Performance of Templates: time 0.04148/0.9954, allocations: 24.51 MB / 0.8227 GB, free: 8.453 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)