Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp") translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008143/0.0008145, allocations: 90.52 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.00551/0.00551, allocations: 170.1 kB / 16.26 MB, free: 6.613 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.429/1.429, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.854/2.854, allocations: 473.4 MB / 0.7469 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003936/0.0003937, allocations: 8.938 kB / 0.9158 GB, free: 33.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3226, allocations: 162.2 MB / 1.074 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1891/0.5118, allocations: 171.5 MB / 1.242 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7615/1.273, allocations: 15.47 MB / 1.257 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002291/1.276, allocations: 28.09 kB / 1.257 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001986/1.278, allocations: 0.5142 MB / 1.257 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005481/1.283, allocations: 1.42 MB / 1.259 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005171/1.288, allocations: 1.489 MB / 1.26 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005784/1.294, allocations: 3.342 MB / 1.263 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00285/1.297, allocations: 1.56 MB / 1.265 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005314/1.302, allocations: 1.1 MB / 1.266 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001987/1.304, allocations: 0.8702 MB / 1.267 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002471/1.305, allocations: 49.78 kB / 1.267 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003989/1.309, allocations: 1.34 MB / 1.268 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006883/1.309, allocations: 395 kB / 1.269 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002307/1.312, allocations: 0.8541 MB / 1.269 GB, free: 21.82 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006792/1.318, allocations: 2.861 MB / 1.272 GB, free: 21.63 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/1.318, allocations: 0.6094 kB / 1.272 GB, free: 21.63 MB / 1.014 GB Notification: Performance of FrontEnd: time 7.013e-06/1.319, allocations: 0 / 1.272 GB, free: 21.63 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001151/1.319, allocations: 8.656 kB / 1.272 GB, free: 21.63 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.005228/1.324, allocations: 1.912 MB / 1.274 GB, free: 20.58 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/1.324, allocations: 14.25 kB / 1.274 GB, free: 20.57 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003518/1.327, allocations: 475.7 kB / 1.275 GB, free: 20.46 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002361/1.33, allocations: 1.099 MB / 1.276 GB, free: 20.09 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001189/1.33, allocations: 118.3 kB / 1.276 GB, free: 20.08 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002588/1.33, allocations: 158 kB / 1.276 GB, free: 20.08 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003844/1.334, allocations: 1.788 MB / 1.278 GB, free: 19.83 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.043e-05/1.334, allocations: 4.359 kB / 1.278 GB, free: 19.83 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001807/1.334, allocations: 70.75 kB / 1.278 GB, free: 19.83 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.111e-05/1.334, allocations: 45.45 kB / 1.278 GB, free: 19.83 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003921/1.338, allocations: 1.784 MB / 1.279 GB, free: 19.81 MB / 1.014 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.01/1.348, allocations: 6.211 MB / 1.286 GB, free: 16.88 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00281/1.351, allocations: 1.582 MB / 1.287 GB, free: 16.54 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001055/1.352, allocations: 0.5705 MB / 1.288 GB, free: 16.53 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009066/1.353, allocations: 0.8936 MB / 1.288 GB, free: 15.58 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001483/1.355, allocations: 0.7999 MB / 1.289 GB, free: 15.52 MB / 1.014 GB Notification: Performance of pre-optimization done (n=126): time 3.868e-06/1.355, allocations: 4 kB / 1.289 GB, free: 15.51 MB / 1.014 GB Notification: Performance of matching and sorting (n=126): time 0.004951/1.36, allocations: 1.898 MB / 1.291 GB, free: 15.27 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/1.36, allocations: 193.6 kB / 1.291 GB, free: 15.05 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001553/1.361, allocations: 0.9868 MB / 1.292 GB, free: 14.9 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002046/1.362, allocations: 53.08 kB / 1.292 GB, free: 14.87 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004874/1.362, allocations: 0.6601 MB / 1.293 GB, free: 14.59 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003272/1.362, allocations: 422.2 kB / 1.293 GB, free: 14.32 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/1.363, allocations: 96.47 kB / 1.293 GB, free: 14.31 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001368/1.363, allocations: 354.6 kB / 1.294 GB, free: 14 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000919/1.364, allocations: 452.2 kB / 1.294 GB, free: 14 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00104/1.365, allocations: 0.6064 MB / 1.295 GB, free: 13.88 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001908/1.367, allocations: 1.045 MB / 1.296 GB, free: 13.79 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/1.367, allocations: 0 / 1.296 GB, free: 13.79 MB / 1.014 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003077/1.37, allocations: 1.354 MB / 1.297 GB, free: 13.65 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/1.37, allocations: 6.562 kB / 1.297 GB, free: 13.65 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/1.37, allocations: 1.281 kB / 1.297 GB, free: 13.65 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005968/1.37, allocations: 89.73 kB / 1.297 GB, free: 13.64 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/1.372, allocations: 288.3 kB / 1.298 GB, free: 13.64 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002158/1.374, allocations: 1.547 MB / 1.299 GB, free: 12.34 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001713/1.376, allocations: 180.3 kB / 1.299 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001747/1.376, allocations: 54.06 kB / 1.299 GB, free: 12.27 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (144): * Single equations (assignments): 143 * 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.001087/1.377, allocations: 380.8 kB / 1.3 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004709/1.377, allocations: 138.9 kB / 1.3 GB, free: 12.09 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004068/1.381, allocations: 1.62 MB / 1.301 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.1e-05/1.381, allocations: 12.84 kB / 1.301 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/1.381, allocations: 0 / 1.301 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/1.382, allocations: 10.34 kB / 1.301 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006466/1.388, allocations: 3.181 MB / 1.304 GB, free: 11.52 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/1.388, allocations: 1.062 kB / 1.304 GB, free: 11.52 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001289/1.389, allocations: 267.9 kB / 1.305 GB, free: 11.52 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005585/1.39, allocations: 85.03 kB / 1.305 GB, free: 11.5 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/1.39, allocations: 39.36 kB / 1.305 GB, free: 11.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0019/1.392, allocations: 1.565 MB / 1.306 GB, free: 10.2 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.392, allocations: 1.156 kB / 1.306 GB, free: 10.2 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004641/1.397, allocations: 2.19 MB / 1.309 GB, free: 9.941 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00122/1.398, allocations: 414.5 kB / 1.309 GB, free: 9.758 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004544/1.398, allocations: 25.75 kB / 1.309 GB, free: 9.758 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001693/1.4, allocations: 152.3 kB / 1.309 GB, free: 9.734 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002419/1.4, allocations: 95.59 kB / 1.309 GB, free: 9.73 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000163/1.4, allocations: 60.56 kB / 1.309 GB, free: 9.73 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001263/1.402, allocations: 0.68 MB / 1.31 GB, free: 9.621 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.31e-07/1.402, allocations: 0 / 1.31 GB, free: 9.621 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002019/1.404, allocations: 0.5456 MB / 1.31 GB, free: 9.531 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * 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 (137): * Single equations (assignments): 131 * 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.002476/1.406, allocations: 0.7123 MB / 1.311 GB, free: 9.293 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003075/1.409, allocations: 1.287 MB / 1.312 GB, free: 9.145 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/1.409, allocations: 3.375 kB / 1.312 GB, free: 9.141 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001485/1.411, allocations: 0.7604 MB / 1.313 GB, free: 9.016 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00318/1.414, allocations: 0.5411 MB / 1.314 GB, free: 8.969 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006052/1.42, allocations: 3.66 MB / 1.317 GB, free: 7.117 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/1.421, allocations: 1.307 MB / 1.319 GB, free: 6.375 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00216/1.423, allocations: 433.9 kB / 1.319 GB, free: 6.246 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000504/1.424, allocations: 154.5 kB / 1.319 GB, free: 6.238 MB / 1.014 GB Notification: Performance of SimCode: time 9.02e-07/1.424, allocations: 0 / 1.319 GB, free: 6.238 MB / 1.014 GB Notification: Performance of Templates: time 0.04626/1.47, allocations: 25.67 MB / 1.344 GB, free: 13.06 MB / 1.029 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_3.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1)