Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside") translateModel(BuildingSystems.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7788/0.7788, allocations: 143.4 MB / 159.2 MB, free: 4.918 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 198 kB / 191.9 MB, free: 5.711 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 222.9 MB / 447.3 MB, free: 5.832 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 110.8 kB / 0.517 GB, free: 3.688 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001883/0.001883, allocations: 272.8 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 83.88 kB / 0.6885 GB, free: 3.852 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.3646, allocations: 81.3 MB / 0.7679 GB, free: 27.69 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside): time 0.6187/0.9833, allocations: 173.5 MB / 0.9373 GB, free: 304 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01642/0.9997, allocations: 10.78 MB / 0.9479 GB, free: 15.99 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002113/1.002, allocations: 29.66 kB / 0.9479 GB, free: 15.99 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001231/1.003, allocations: 317.7 kB / 0.9482 GB, free: 15.98 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.003541/1.007, allocations: 0.9049 MB / 0.9491 GB, free: 15.94 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.004628/1.011, allocations: 1.487 MB / 0.9505 GB, free: 15.88 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.00292/1.014, allocations: 2.492 MB / 0.953 GB, free: 15.86 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001702/1.016, allocations: 1.273 MB / 0.9542 GB, free: 15.64 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00368/1.02, allocations: 1.083 MB / 0.9553 GB, free: 15.62 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009083/1.021, allocations: 0.7255 MB / 0.956 GB, free: 15.57 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001518/1.021, allocations: 78.66 kB / 0.9561 GB, free: 15.56 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003257/1.024, allocations: 1.452 MB / 0.9575 GB, free: 15.54 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0004032/1.024, allocations: 354.4 kB / 0.9578 GB, free: 15.48 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.000793/1.025, allocations: 0.6529 MB / 0.9585 GB, free: 15.27 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.003676/1.029, allocations: 2.371 MB / 0.9608 GB, free: 14.96 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 7.625e-06/1.029, allocations: 7.062 kB / 0.9608 GB, free: 14.96 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.493e-06/1.029, allocations: 0 / 0.9608 GB, free: 14.96 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.931e-05/1.029, allocations: 2.406 kB / 0.9608 GB, free: 14.96 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.00307/1.032, allocations: 1.775 MB / 0.9625 GB, free: 14.03 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/1.032, allocations: 11 kB / 0.9625 GB, free: 14.03 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001975/1.034, allocations: 342.7 kB / 0.9628 GB, free: 13.95 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001525/1.036, allocations: 0.9127 MB / 0.9637 GB, free: 13.61 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.337e-05/1.036, allocations: 80.95 kB / 0.9638 GB, free: 13.6 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001814/1.036, allocations: 108.2 kB / 0.9639 GB, free: 13.6 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002271/1.038, allocations: 1.236 MB / 0.9651 GB, free: 13.42 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.39e-05/1.038, allocations: 2.562 kB / 0.9651 GB, free: 13.42 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/1.038, allocations: 48.81 kB / 0.9652 GB, free: 13.42 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.388e-05/1.038, allocations: 26.89 kB / 0.9652 GB, free: 13.42 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002281/1.041, allocations: 1.405 MB / 0.9666 GB, free: 13.13 MB / 0.573 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.005941/1.047, allocations: 3.692 MB / 0.9702 GB, free: 10.34 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001936/1.049, allocations: 1.12 MB / 0.9713 GB, free: 9.727 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006754/1.049, allocations: 422.9 kB / 0.9717 GB, free: 9.523 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007287/1.05, allocations: 430.7 kB / 0.9721 GB, free: 9.102 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001026/1.051, allocations: 0.5782 MB / 0.9727 GB, free: 8.738 MB / 0.573 GB Notification: Performance of pre-optimization done (n=97): time 3.226e-06/1.051, allocations: 3.938 kB / 0.9727 GB, free: 8.734 MB / 0.573 GB Notification: Performance of matching and sorting (n=97): time 0.003865/1.055, allocations: 1.491 MB / 0.9741 GB, free: 7.945 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/1.055, allocations: 195.2 kB / 0.9743 GB, free: 7.723 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/1.056, allocations: 0.8427 MB / 0.9751 GB, free: 7.23 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 9.775e-05/1.056, allocations: 42.02 kB / 0.9752 GB, free: 7.188 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004086/1.057, allocations: 499.7 kB / 0.9756 GB, free: 6.754 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002717/1.057, allocations: 330.4 kB / 0.976 GB, free: 6.477 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002861/1.057, allocations: 189.9 kB / 0.9761 GB, free: 6.367 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001254/1.057, allocations: 343.3 kB / 0.9765 GB, free: 6.035 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006456/1.058, allocations: 354.2 kB / 0.9768 GB, free: 5.859 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007903/1.059, allocations: 476.6 kB / 0.9773 GB, free: 5.586 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001434/1.06, allocations: 0.8135 MB / 0.978 GB, free: 5.148 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/1.06, allocations: 2.188 kB / 0.9781 GB, free: 5.148 MB / 0.573 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002541/1.063, allocations: 1.09 MB / 0.9791 GB, free: 4.602 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.89e-05/1.063, allocations: 7 kB / 0.9791 GB, free: 4.602 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/1.063, allocations: 0 / 0.9791 GB, free: 4.602 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005718/1.064, allocations: 84.91 kB / 0.9792 GB, free: 4.562 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000883/1.064, allocations: 213.4 kB / 0.9794 GB, free: 4.523 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002071/1.067, allocations: 1.554 MB / 0.9809 GB, free: 3.012 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/1.068, allocations: 119.9 kB / 0.981 GB, free: 2.934 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.725e-05/1.068, allocations: 43.62 kB / 0.9811 GB, free: 2.918 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 115 * 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.0006293/1.068, allocations: 306.8 kB / 0.9814 GB, free: 2.695 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002084/1.069, allocations: 114 kB / 0.9815 GB, free: 2.637 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002914/1.071, allocations: 1.4 MB / 0.9828 GB, free: 1.82 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/1.072, allocations: 10.09 kB / 0.9829 GB, free: 1.82 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/1.072, allocations: 0 / 0.9829 GB, free: 1.82 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/1.072, allocations: 6.109 kB / 0.9829 GB, free: 1.816 MB / 0.573 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.005123/1.077, allocations: 2.648 MB / 0.9854 GB, free: 20 kB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.555e-06/1.077, allocations: 5.781 kB / 0.9855 GB, free: 16 kB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009/1.078, allocations: 195.6 kB / 0.9856 GB, free: 15.98 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005254/1.078, allocations: 86.16 kB / 0.9857 GB, free: 15.94 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.645e-05/1.078, allocations: 36.59 kB / 0.9858 GB, free: 15.91 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001919/1.08, allocations: 1.557 MB / 0.9873 GB, free: 14.41 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/1.08, allocations: 2.219 kB / 0.9873 GB, free: 14.41 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02522/1.105, allocations: 7.626 MB / 0.9947 GB, free: 6.723 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007344/1.106, allocations: 327.4 kB / 0.995 GB, free: 6.383 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002493/1.106, allocations: 19.94 kB / 0.9951 GB, free: 6.363 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/1.108, allocations: 77.53 kB / 0.9951 GB, free: 6.289 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002369/1.108, allocations: 79.52 kB / 0.9952 GB, free: 6.215 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001138/1.108, allocations: 43.97 kB / 0.9953 GB, free: 6.172 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001/1.109, allocations: 0.5936 MB / 0.9958 GB, free: 5.566 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.154e-06/1.109, allocations: 0 / 0.9958 GB, free: 5.566 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001886/1.111, allocations: 0.5342 MB / 0.9964 GB, free: 5.031 MB / 0.5886 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 102 * 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.002056/1.113, allocations: 0.7699 MB / 0.9971 GB, free: 4.504 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002364/1.115, allocations: 1.021 MB / 0.9981 GB, free: 3.488 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/1.115, allocations: 0 / 0.9981 GB, free: 3.488 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001236/1.117, allocations: 0.6043 MB / 0.9987 GB, free: 2.895 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00271/1.119, allocations: 482.6 kB / 0.9992 GB, free: 2.43 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0071/1.126, allocations: 3.457 MB / 1.003 GB, free: 14.91 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001184/1.128, allocations: 1.168 MB / 1.004 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001984/1.13, allocations: 393 kB / 1.004 GB, free: 13.33 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005908/1.13, allocations: 135.3 kB / 1.004 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of SimCode: time 1.203e-06/1.13, allocations: 0 / 1.004 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of Templates: time 0.04446/1.175, allocations: 25.38 MB / 1.029 GB, free: 4.137 MB / 0.6198 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe 2>&1)