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.001107/0.001107, allocations: 98.19 kB / 16.27 MB, free: 5.973 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.001086/0.001086, allocations: 189.6 kB / 17.2 MB, free: 5.602 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.372/1.372, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7903/0.7903, allocations: 126.1 MB / 417.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 67.83 kB / 0.495 GB, free: 3.559 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.407/0.4085, allocations: 78.7 MB / 0.5718 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1862/0.5948, allocations: 176.8 MB / 0.7444 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4343/1.029, allocations: 12.81 MB / 0.7569 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001812/1.031, allocations: 35.09 kB / 0.757 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001422/1.032, allocations: 471.1 kB / 0.7574 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003364/1.036, allocations: 1.022 MB / 0.7584 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005033/1.041, allocations: 1.868 MB / 0.7602 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004828/1.046, allocations: 2.526 MB / 0.7627 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002878/1.049, allocations: 1.602 MB / 0.7643 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004834/1.054, allocations: 1.418 MB / 0.7657 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002009/1.056, allocations: 0.8808 MB / 0.7665 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003907/1.056, allocations: 170.7 kB / 0.7667 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003476/1.059, allocations: 1.397 MB / 0.768 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005786/1.06, allocations: 487.4 kB / 0.7685 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001574/1.062, allocations: 0.8861 MB / 0.7694 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005334/1.067, allocations: 2.745 MB / 0.7721 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/1.067, allocations: 0 / 0.7721 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.653e-06/1.067, allocations: 1.938 kB / 0.7721 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.741e-05/1.067, allocations: 0 / 0.7721 GB, free: 1.219 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.005029/1.072, allocations: 2.026 MB / 0.774 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.64e-05/1.072, allocations: 13.47 kB / 0.774 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003042/1.075, allocations: 406 kB / 0.7744 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001847/1.077, allocations: 0.9919 MB / 0.7754 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.778e-05/1.077, allocations: 100.4 kB / 0.7755 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001662/1.077, allocations: 134.8 kB / 0.7756 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002462/1.08, allocations: 1.521 MB / 0.7771 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.844e-05/1.08, allocations: 3.094 kB / 0.7771 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001319/1.08, allocations: 57.41 kB / 0.7772 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.767e-05/1.08, allocations: 35.12 kB / 0.7772 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002492/1.083, allocations: 1.589 MB / 0.7788 GB, free: 15.51 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.00781/1.09, allocations: 5.333 MB / 0.784 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002454/1.093, allocations: 1.527 MB / 0.7855 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007633/1.094, allocations: 487.2 kB / 0.7859 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007622/1.094, allocations: 428.5 kB / 0.7863 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001173/1.096, allocations: 0.6872 MB / 0.787 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=107): time 2.475e-06/1.096, allocations: 0 / 0.787 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of matching and sorting (n=107): time 0.004353/1.1, allocations: 1.665 MB / 0.7886 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000133/1.1, allocations: 196 kB / 0.7888 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001419/1.102, allocations: 0.8884 MB / 0.7897 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001528/1.102, allocations: 52.11 kB / 0.7897 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000579/1.102, allocations: 0.5955 MB / 0.7903 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003269/1.103, allocations: 359.6 kB / 0.7907 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003367/1.103, allocations: 214.3 kB / 0.7909 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001456/1.103, allocations: 353 kB / 0.7912 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007332/1.104, allocations: 401.3 kB / 0.7916 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009061/1.105, allocations: 0.5661 MB / 0.7921 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001573/1.106, allocations: 0.9534 MB / 0.7931 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/1.106, allocations: 0.7812 kB / 0.7931 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002948/1.109, allocations: 1.235 MB / 0.7943 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.152e-05/1.109, allocations: 7.906 kB / 0.7943 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/1.109, allocations: 2.969 kB / 0.7943 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006813/1.11, allocations: 94.47 kB / 0.7944 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/1.111, allocations: 257 kB / 0.7946 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002428/1.114, allocations: 1.647 MB / 0.7962 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001615/1.115, allocations: 140.9 kB / 0.7964 GB, free: 8.82 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.795e-05/1.115, allocations: 47.16 kB / 0.7964 GB, free: 8.82 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.000875/1.116, allocations: 356.2 kB / 0.7967 GB, free: 8.699 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003009/1.117, allocations: 117.7 kB / 0.7968 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003105/1.12, allocations: 1.435 MB / 0.7983 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/1.12, allocations: 10.09 kB / 0.7983 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/1.12, allocations: 5.719 kB / 0.7983 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.424e-05/1.12, allocations: 8.969 kB / 0.7983 GB, free: 8.523 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.004893/1.125, allocations: 2.868 MB / 0.8011 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/1.125, allocations: 0 / 0.8011 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009613/1.126, allocations: 220.5 kB / 0.8013 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004562/1.126, allocations: 74.55 kB / 0.8014 GB, free: 8.016 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.351e-05/1.126, allocations: 32.53 kB / 0.8014 GB, free: 8.016 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00196/1.128, allocations: 1.67 MB / 0.803 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/1.128, allocations: 0.8438 kB / 0.803 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002866/1.131, allocations: 1.319 MB / 0.8043 GB, free: 6.402 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006944/1.132, allocations: 360.3 kB / 0.8047 GB, free: 6.227 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001841/1.132, allocations: 23.97 kB / 0.8047 GB, free: 6.227 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009251/1.133, allocations: 87.52 kB / 0.8048 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001882/1.133, allocations: 81.33 kB / 0.8048 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/1.133, allocations: 55.41 kB / 0.8049 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009275/1.134, allocations: 0.6218 MB / 0.8055 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.2e-07/1.134, allocations: 4.531 kB / 0.8055 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001538/1.136, allocations: 0.4941 MB / 0.806 GB, free: 6.023 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.001606/1.137, allocations: 0.7021 MB / 0.8067 GB, free: 5.832 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003546/1.141, allocations: 1.467 MB / 0.8081 GB, free: 5.688 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/1.141, allocations: 0 / 0.8081 GB, free: 5.688 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001304/1.142, allocations: 0.6779 MB / 0.8088 GB, free: 5.566 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002492/1.145, allocations: 0.5363 MB / 0.8093 GB, free: 5.52 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004539/1.149, allocations: 2.376 MB / 0.8116 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008155/1.15, allocations: 1.21 MB / 0.8128 GB, free: 3.883 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001602/1.152, allocations: 385.3 kB / 0.8132 GB, free: 3.77 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003689/1.152, allocations: 142.5 kB / 0.8133 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of SimCode: time 8.42e-07/1.152, allocations: 0 / 0.8133 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of Templates: time 0.04321/1.195, allocations: 24.52 MB / 0.8372 GB, free: 14.61 MB / 0.6231 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)