Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside") translateModel(BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.704/0.704, allocations: 128.7 MB / 144.5 MB, free: 1.371 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001177/0.001177, allocations: 185.2 kB / 174.2 MB, free: 5.938 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.369/1.369, allocations: 205.1 MB / 408.9 MB, free: 9.73 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008873/0.0008871, allocations: 94.3 kB / 485.1 MB, free: 13.59 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00103/0.00103, allocations: 53.61 kB / 0.558 GB, free: 97.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1394, allocations: 75.47 MB / 0.6317 GB, free: 33.09 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside): time 0.517/0.6564, allocations: 178.1 MB / 0.8056 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01363/0.6701, allocations: 10.55 MB / 0.8159 GB, free: 9.867 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001167/0.6713, allocations: 23.16 kB / 0.8159 GB, free: 9.859 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001071/0.6724, allocations: 274.3 kB / 0.8162 GB, free: 9.691 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function ‘BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function ‘BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function ‘BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. Notification: Performance of NFTyping.typeBindings: time 0.00265/0.6751, allocations: 0.7939 MB / 0.817 GB, free: 9.336 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.004481/0.6796, allocations: 1.475 MB / 0.8184 GB, free: 8.891 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.003871/0.6835, allocations: 2.502 MB / 0.8209 GB, free: 8.152 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001748/0.6853, allocations: 1.091 MB / 0.8219 GB, free: 7.754 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003797/0.6891, allocations: 1.076 MB / 0.823 GB, free: 7.219 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00116/0.6902, allocations: 0.7157 MB / 0.8237 GB, free: 6.805 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001495/0.6904, allocations: 70.53 kB / 0.8237 GB, free: 6.805 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002658/0.6931, allocations: 1.22 MB / 0.8249 GB, free: 6.254 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0003156/0.6934, allocations: 346.4 kB / 0.8253 GB, free: 6.023 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.000633/0.694, allocations: 0.632 MB / 0.8259 GB, free: 5.609 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.002897/0.6969, allocations: 2.262 MB / 0.8281 GB, free: 4.16 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.697, allocations: 6.938 kB / 0.8281 GB, free: 4.156 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.603e-06/0.697, allocations: 3.938 kB / 0.8281 GB, free: 4.152 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.373e-05/0.697, allocations: 0 / 0.8281 GB, free: 4.152 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.002891/0.6999, allocations: 1.714 MB / 0.8298 GB, free: 2.84 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.7, allocations: 11.78 kB / 0.8298 GB, free: 2.836 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003088/0.7031, allocations: 452.9 kB / 0.8302 GB, free: 2.629 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00145/0.7045, allocations: 0.8294 MB / 0.831 GB, free: 1.965 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.196e-05/0.7046, allocations: 87.39 kB / 0.8311 GB, free: 1.922 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000153/0.7048, allocations: 109.1 kB / 0.8312 GB, free: 1.887 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002426/0.7072, allocations: 1.231 MB / 0.8324 GB, free: 1.121 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/0.7073, allocations: 0 / 0.8324 GB, free: 1.121 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/0.7074, allocations: 50.12 kB / 0.8325 GB, free: 1.082 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.076e-05/0.7074, allocations: 31.89 kB / 0.8325 GB, free: 1.078 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003034/0.7105, allocations: 1.476 MB / 0.8339 GB, free: 372 kB / 0.5261 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.006221/0.7167, allocations: 3.665 MB / 0.8375 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002674/0.7194, allocations: 1.22 MB / 0.8387 GB, free: 12.85 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009961/0.7204, allocations: 459.8 kB / 0.8391 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001249/0.7217, allocations: 0.7626 MB / 0.8399 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001354/0.723, allocations: 0.6292 MB / 0.8405 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=97): time 5.581e-06/0.7231, allocations: 4 kB / 0.8405 GB, free: 11.4 MB / 0.5417 GB Notification: Performance of matching and sorting (n=97): time 0.004532/0.7276, allocations: 1.551 MB / 0.842 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.504e-05/0.7277, allocations: 119.8 kB / 0.8421 GB, free: 10.42 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/0.7288, allocations: 0.7435 MB / 0.8429 GB, free: 9.66 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001027/0.7289, allocations: 49.7 kB / 0.8429 GB, free: 9.605 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003909/0.7293, allocations: 456.5 kB / 0.8433 GB, free: 9.152 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002737/0.7296, allocations: 335.6 kB / 0.8437 GB, free: 8.828 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003097/0.7299, allocations: 186.5 kB / 0.8438 GB, free: 8.641 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.7301, allocations: 341.9 kB / 0.8442 GB, free: 8.301 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008968/0.731, allocations: 369.8 kB / 0.8445 GB, free: 7.938 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001029/0.732, allocations: 486.4 kB / 0.845 GB, free: 7.438 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002015/0.734, allocations: 0.8773 MB / 0.8458 GB, free: 6.539 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.734, allocations: 0 / 0.8458 GB, free: 6.539 MB / 0.5417 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.002873/0.7369, allocations: 1.149 MB / 0.847 GB, free: 5.371 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 4.004e-05/0.737, allocations: 33.7 kB / 0.847 GB, free: 5.332 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.737, allocations: 0 / 0.847 GB, free: 5.332 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005916/0.7376, allocations: 80.88 kB / 0.8471 GB, free: 5.25 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.7386, allocations: 219.7 kB / 0.8473 GB, free: 5.035 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002091/0.7407, allocations: 1.528 MB / 0.8488 GB, free: 3.371 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/0.7418, allocations: 131 kB / 0.8489 GB, free: 3.242 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/0.7419, allocations: 39.98 kB / 0.8489 GB, free: 3.203 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 7 (senMasFra.i_x,weaDat.conTim.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim1.tStart,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 1 * 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.0006109/0.7425, allocations: 301.5 kB / 0.8492 GB, free: 2.898 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002983/0.7428, allocations: 106.7 kB / 0.8493 GB, free: 2.793 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003522/0.7463, allocations: 1.414 MB / 0.8507 GB, free: 1.355 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.7464, allocations: 11.98 kB / 0.8507 GB, free: 1.344 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.7464, allocations: 0 / 0.8507 GB, free: 1.344 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.7464, allocations: 7.984 kB / 0.8507 GB, free: 1.336 MB / 0.5417 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.005779/0.7522, allocations: 2.624 MB / 0.8533 GB, free: 14.63 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/0.7522, allocations: 8 kB / 0.8533 GB, free: 14.62 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/0.7533, allocations: 187.7 kB / 0.8535 GB, free: 14.44 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005541/0.7538, allocations: 96.78 kB / 0.8536 GB, free: 14.34 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-05/0.7539, allocations: 35.97 kB / 0.8536 GB, free: 14.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001905/0.7559, allocations: 1.54 MB / 0.8551 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.7559, allocations: 7.969 kB / 0.8551 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04645/0.8023, allocations: 10.02 MB / 0.8649 GB, free: 2.383 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008416/0.8032, allocations: 323.5 kB / 0.8652 GB, free: 2.047 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002921/0.8035, allocations: 24 kB / 0.8652 GB, free: 2.023 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/0.8047, allocations: 79.91 kB / 0.8653 GB, free: 1.945 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002085/0.8049, allocations: 64.91 kB / 0.8654 GB, free: 1.883 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001358/0.8051, allocations: 43.97 kB / 0.8654 GB, free: 1.84 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0009229/0.806, allocations: 0.5419 MB / 0.8659 GB, free: 1.301 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.6e-07/0.806, allocations: 0 / 0.8659 GB, free: 1.301 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002136/0.8081, allocations: 0.5341 MB / 0.8665 GB, free: 0.7656 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim.tStart,weaDat.conTim1.tStart) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002017/0.8102, allocations: 0.7173 MB / 0.8672 GB, free: 288 kB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002952/0.8131, allocations: 1.107 MB / 0.8682 GB, free: 15.15 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/0.8132, allocations: 0 / 0.8682 GB, free: 15.15 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.00142/0.8146, allocations: 0.6216 MB / 0.8689 GB, free: 14.52 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002397/0.817, allocations: 430.7 kB / 0.8693 GB, free: 14.1 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006696/0.8237, allocations: 3.42 MB / 0.8726 GB, free: 10.62 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009528/0.8247, allocations: 1.137 MB / 0.8737 GB, free: 9.453 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002136/0.8269, allocations: 388.1 kB / 0.8741 GB, free: 9.07 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006657/0.8275, allocations: 143.3 kB / 0.8742 GB, free: 8.93 MB / 0.573 GB Notification: Performance of SimCode: time 7.71e-07/0.8275, allocations: 0 / 0.8742 GB, free: 8.93 MB / 0.573 GB Notification: Performance of Templates: time 0.04726/0.8748, allocations: 25.96 MB / 0.8996 GB, free: 15.15 MB / 0.6042 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside.pipe 2>&1)