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.001354/0.001354, allocations: 94.64 kB / 16.64 MB, free: 6.805 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.001324/0.001324, allocations: 185.9 kB / 17.57 MB, free: 5.926 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.411/1.411, allocations: 222.9 MB / 241.3 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8335/0.8335, allocations: 125.3 MB / 416.7 MB, free: 13.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 63.89 kB / 0.4943 GB, free: 4.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4065/0.4085, allocations: 78.56 MB / 0.571 GB, free: 30.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.2045/0.6131, allocations: 174.4 MB / 0.7413 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4133/1.026, allocations: 12.66 MB / 0.7537 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001949/1.028, allocations: 30.72 kB / 0.7537 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00165/1.03, allocations: 396.1 kB / 0.7541 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003959/1.034, allocations: 0.9319 MB / 0.755 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005714/1.04, allocations: 1.697 MB / 0.7567 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004983/1.045, allocations: 2.524 MB / 0.7591 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003251/1.048, allocations: 1.591 MB / 0.7607 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006449/1.055, allocations: 1.551 MB / 0.7622 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00225/1.057, allocations: 0.8932 MB / 0.7631 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004864/1.057, allocations: 171.2 kB / 0.7632 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003996/1.061, allocations: 1.432 MB / 0.7646 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006746/1.062, allocations: 499.3 kB / 0.7651 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001578/1.064, allocations: 0.8794 MB / 0.766 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003679/1.067, allocations: 2.073 MB / 0.768 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/1.067, allocations: 0 / 0.768 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.154e-06/1.067, allocations: 0.9375 kB / 0.768 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.303e-05/1.067, allocations: 1.156 kB / 0.768 GB, free: 1.379 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.004753/1.072, allocations: 2.025 MB / 0.77 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/1.072, allocations: 11.31 kB / 0.77 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002949/1.075, allocations: 403.9 kB / 0.7704 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001948/1.077, allocations: 0.9899 MB / 0.7713 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/1.077, allocations: 106.3 kB / 0.7714 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000212/1.078, allocations: 130 kB / 0.7716 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002941/1.081, allocations: 1.523 MB / 0.7731 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.029e-05/1.081, allocations: 2.906 kB / 0.7731 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001406/1.081, allocations: 62.84 kB / 0.7731 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.5e-05/1.081, allocations: 33.81 kB / 0.7732 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002423/1.083, allocations: 1.582 MB / 0.7747 GB, free: 15.7 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.008155/1.091, allocations: 5.427 MB / 0.78 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002578/1.094, allocations: 1.516 MB / 0.7815 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007753/1.095, allocations: 480.2 kB / 0.7819 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008085/1.096, allocations: 430.9 kB / 0.7823 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00124/1.097, allocations: 0.6914 MB / 0.783 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=107): time 3.747e-06/1.097, allocations: 0.5938 kB / 0.783 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of matching and sorting (n=107): time 0.004437/1.101, allocations: 1.665 MB / 0.7846 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001473/1.101, allocations: 195 kB / 0.7848 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001345/1.103, allocations: 0.8957 MB / 0.7857 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001763/1.103, allocations: 46.08 kB / 0.7858 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005458/1.104, allocations: 0.5968 MB / 0.7863 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003715/1.104, allocations: 357.8 kB / 0.7867 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003462/1.104, allocations: 215.6 kB / 0.7869 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001652/1.104, allocations: 348.9 kB / 0.7872 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007378/1.105, allocations: 396.6 kB / 0.7876 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008938/1.106, allocations: 0.5745 MB / 0.7882 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001535/1.108, allocations: 0.9525 MB / 0.7891 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/1.108, allocations: 2.812 kB / 0.7891 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002826/1.111, allocations: 1.23 MB / 0.7903 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/1.111, allocations: 8.938 kB / 0.7903 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/1.111, allocations: 3.406 kB / 0.7903 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006349/1.111, allocations: 92.22 kB / 0.7904 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/1.112, allocations: 255.3 kB / 0.7906 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002564/1.115, allocations: 1.655 MB / 0.7922 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001621/1.117, allocations: 158.7 kB / 0.7924 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/1.117, allocations: 49.53 kB / 0.7924 GB, free: 8.898 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.0008234/1.118, allocations: 344.1 kB / 0.7928 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003341/1.118, allocations: 124.3 kB / 0.7929 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003157/1.121, allocations: 1.434 MB / 0.7943 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/1.121, allocations: 12.91 kB / 0.7943 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/1.121, allocations: 0 / 0.7943 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.436e-05/1.121, allocations: 6.812 kB / 0.7943 GB, free: 8.598 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.005038/1.126, allocations: 2.884 MB / 0.7971 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-06/1.126, allocations: 2.109 kB / 0.7971 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009784/1.127, allocations: 219.3 kB / 0.7973 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004591/1.128, allocations: 75.91 kB / 0.7974 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.368e-05/1.128, allocations: 31.92 kB / 0.7974 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002058/1.13, allocations: 1.674 MB / 0.7991 GB, free: 6.699 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.13, allocations: 0 / 0.7991 GB, free: 6.699 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00303/1.133, allocations: 1.324 MB / 0.8004 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000942/1.134, allocations: 358.2 kB / 0.8007 GB, free: 6.293 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002392/1.134, allocations: 22.48 kB / 0.8007 GB, free: 6.293 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/1.135, allocations: 104.5 kB / 0.8008 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002133/1.135, allocations: 90.59 kB / 0.8009 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001122/1.135, allocations: 55.19 kB / 0.801 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009185/1.136, allocations: 0.6178 MB / 0.8016 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/1.136, allocations: 0 / 0.8016 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001649/1.138, allocations: 496.5 kB / 0.802 GB, free: 6.098 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.002323/1.14, allocations: 0.7147 MB / 0.8027 GB, free: 5.914 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003751/1.144, allocations: 1.471 MB / 0.8042 GB, free: 5.766 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.715e-06/1.144, allocations: 2.312 kB / 0.8042 GB, free: 5.766 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001309/1.146, allocations: 0.6799 MB / 0.8048 GB, free: 5.645 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002671/1.148, allocations: 0.5361 MB / 0.8054 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005182/1.153, allocations: 3.017 MB / 0.8083 GB, free: 4.09 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009913/1.154, allocations: 1.202 MB / 0.8095 GB, free: 3.355 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006776/1.155, allocations: 158.1 kB / 0.8096 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of SimCode: time 9.31e-07/1.155, allocations: 4 kB / 0.8096 GB, free: 3.348 MB / 0.5919 GB Notification: Performance of Templates: time 0.04712/1.202, allocations: 28.37 MB / 0.8374 GB, free: 12.44 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)