Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009753/0.0009753, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00976/0.00976, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.593/1.593, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.717/1.717, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005617/0.0005617, allocations: 17.19 kB / 0.6743 GB, free: 25.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.27, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.8014/1.071, allocations: 162.3 MB / 0.9463 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02372/1.095, allocations: 16.41 MB / 0.9623 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002058/1.097, allocations: 27.28 kB / 0.9624 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002088/1.1, allocations: 430.2 kB / 0.9628 GB, free: 15.4 MB / 0.7325 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. Notification: Performance of NFTyping.typeBindings: time 0.005229/1.105, allocations: 1.184 MB / 0.9639 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004436/1.109, allocations: 1.201 MB / 0.9651 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004675/1.114, allocations: 2.508 MB / 0.9676 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003637/1.118, allocations: 1.602 MB / 0.9691 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00577/1.123, allocations: 0.9645 MB / 0.9701 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001716/1.125, allocations: 0.6825 MB / 0.9707 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0005219/1.126, allocations: 38.09 kB / 0.9708 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003859/1.129, allocations: 1.327 MB / 0.9721 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0007932/1.13, allocations: 341.7 kB / 0.9724 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001874/1.132, allocations: 0.7399 MB / 0.9731 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.006762/1.139, allocations: 2.683 MB / 0.9757 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/1.139, allocations: 4 kB / 0.9757 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.246e-06/1.139, allocations: 1.031 kB / 0.9757 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.000166/1.139, allocations: 0 / 0.9757 GB, free: 12.88 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 414 * Number of variables: 414 Notification: Performance of Generate backend data structure: time 0.00557/1.145, allocations: 1.747 MB / 0.9774 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/1.145, allocations: 13.33 kB / 0.9775 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004102/1.149, allocations: 0.5121 MB / 0.978 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002418/1.151, allocations: 1.046 MB / 0.979 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001281/1.152, allocations: 123.1 kB / 0.9791 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000427/1.152, allocations: 166.5 kB / 0.9793 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004126/1.156, allocations: 1.749 MB / 0.981 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.314e-05/1.156, allocations: 0 / 0.981 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002546/1.156, allocations: 77.31 kB / 0.981 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.735e-05/1.157, allocations: 40.06 kB / 0.9811 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003779/1.16, allocations: 1.817 MB / 0.9828 GB, free: 9.375 MB / 0.7325 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.00878/1.169, allocations: 5.011 MB / 0.9877 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002715/1.172, allocations: 1.679 MB / 0.9894 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001069/1.173, allocations: 0.6246 MB / 0.99 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008652/1.174, allocations: 0.8066 MB / 0.9908 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001469/1.175, allocations: 0.8236 MB / 0.9916 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=137): time 3.767e-06/1.175, allocations: 0 / 0.9916 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of matching and sorting (n=137): time 0.005882/1.181, allocations: 2.454 MB / 0.994 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001284/1.181, allocations: 195 kB / 0.9942 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/1.182, allocations: 0.7605 MB / 0.9949 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001525/1.183, allocations: 57.59 kB / 0.995 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000583/1.183, allocations: 0.6157 MB / 0.9956 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003891/1.184, allocations: 467.2 kB / 0.996 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/1.184, allocations: 101.6 kB / 0.9961 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001342/1.184, allocations: 352.8 kB / 0.9964 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00095/1.185, allocations: 470.8 kB / 0.9969 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/1.186, allocations: 0.6061 MB / 0.9975 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002055/1.188, allocations: 1.072 MB / 0.9985 GB, free: 14 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/1.188, allocations: 3.312 kB / 0.9985 GB, free: 14 MB / 0.7481 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003335/1.191, allocations: 1.475 MB / 1 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/1.191, allocations: 5 kB / 1 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/1.191, allocations: 0 / 1 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009356/1.192, allocations: 192.1 kB / 1 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001432/1.194, allocations: 321.8 kB / 1 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005738/1.2, allocations: 6.785 MB / 1.007 GB, free: 6.094 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001682/1.201, allocations: 157.4 kB / 1.007 GB, free: 5.996 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002107/1.201, allocations: 56.59 kB / 1.007 GB, free: 5.973 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (144): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.00103/1.203, allocations: 364 kB / 1.008 GB, free: 5.703 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004243/1.203, allocations: 126.2 kB / 1.008 GB, free: 5.641 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004251/1.207, allocations: 1.752 MB / 1.009 GB, free: 4.629 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-05/1.207, allocations: 19.89 kB / 1.009 GB, free: 4.625 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/1.207, allocations: 2.969 kB / 1.009 GB, free: 4.625 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.452e-05/1.207, allocations: 11.97 kB / 1.01 GB, free: 4.613 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006223/1.214, allocations: 3.252 MB / 1.013 GB, free: 2.555 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/1.214, allocations: 3.938 kB / 1.013 GB, free: 2.551 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001354/1.215, allocations: 311.8 kB / 1.013 GB, free: 2.477 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008192/1.216, allocations: 185.3 kB / 1.013 GB, free: 2.371 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001276/1.216, allocations: 45.97 kB / 1.013 GB, free: 2.34 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005413/1.221, allocations: 6.799 MB / 1.02 GB, free: 11.38 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/1.221, allocations: 6.875 kB / 1.02 GB, free: 11.38 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00381/1.225, allocations: 1.617 MB / 1.021 GB, free: 10.48 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009055/1.226, allocations: 393.7 kB / 1.022 GB, free: 10.16 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002583/1.226, allocations: 29.42 kB / 1.022 GB, free: 10.13 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001428/1.228, allocations: 125.8 kB / 1.022 GB, free: 10.07 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002916/1.228, allocations: 99.69 kB / 1.022 GB, free: 10.02 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001657/1.228, allocations: 69.58 kB / 1.022 GB, free: 9.996 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001079/1.229, allocations: 0.5288 MB / 1.023 GB, free: 9.695 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.9e-07/1.229, allocations: 0 / 1.023 GB, free: 9.695 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002377/1.232, allocations: 0.5372 MB / 1.023 GB, free: 9.535 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002325/1.234, allocations: 0.6808 MB / 1.024 GB, free: 9.219 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003753/1.238, allocations: 1.797 MB / 1.026 GB, free: 8.07 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/1.238, allocations: 0.5625 kB / 1.026 GB, free: 8.07 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.00202/1.24, allocations: 1.267 MB / 1.027 GB, free: 7.168 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002642/1.243, allocations: 474.8 kB / 1.027 GB, free: 6.93 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007662/1.25, allocations: 3.544 MB / 1.031 GB, free: 4.594 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001379/1.252, allocations: 1.27 MB / 1.032 GB, free: 3.641 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002375/1.254, allocations: 419.5 kB / 1.032 GB, free: 3.246 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000548/1.255, allocations: 139.4 kB / 1.033 GB, free: 3.113 MB / 0.7637 GB Notification: Performance of SimCode: time 7.51e-07/1.255, allocations: 0 / 1.033 GB, free: 3.113 MB / 0.7637 GB Notification: Performance of Templates: time 0.04734/1.302, allocations: 24.3 MB / 1.056 GB, free: 11.12 MB / 0.795 GB make -j1 -f Buildings_8_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_8_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_8_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) Environment - environmentSimulation: