Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise") translateModel(BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001011/0.001011, allocations: 117.8 kB / 16.37 MB, free: 6.004 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.000948/0.000948, allocations: 192.8 kB / 17.31 MB, free: 5.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.276/1.276, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002008/0.002008, allocations: 287.3 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8956/0.8956, allocations: 169.2 MB / 0.4989 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001643/0.001643, allocations: 98.72 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.157, allocations: 86.97 MB / 0.6816 GB, free: 7.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise): time 0.4376/0.5946, allocations: 167 MB / 0.8447 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01889/0.6135, allocations: 16.94 MB / 0.8613 GB, free: 6.453 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001577/0.6152, allocations: 27.88 kB / 0.8613 GB, free: 6.426 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001533/0.6167, allocations: 0.5041 MB / 0.8618 GB, free: 5.918 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004178/0.621, allocations: 1.52 MB / 0.8633 GB, free: 4.398 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003152/0.6241, allocations: 1.309 MB / 0.8645 GB, free: 3.102 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002906/0.627, allocations: 2.498 MB / 0.867 GB, free: 0.5938 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00226/0.6293, allocations: 1.94 MB / 0.8689 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003347/0.6327, allocations: 1.311 MB / 0.8702 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00118/0.6339, allocations: 0.9529 MB / 0.8711 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002865/0.6342, allocations: 204 kB / 0.8713 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002764/0.6369, allocations: 1.431 MB / 0.8727 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004847/0.6374, allocations: 0.553 MB / 0.8732 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009854/0.6384, allocations: 0.995 MB / 0.8742 GB, free: 9.207 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004246/0.6427, allocations: 3.041 MB / 0.8772 GB, free: 6.156 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.6427, allocations: 0 / 0.8772 GB, free: 6.156 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6427, allocations: 0 / 0.8772 GB, free: 6.156 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.598e-05/0.6427, allocations: 0 / 0.8772 GB, free: 6.156 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.003677/0.6464, allocations: 2.257 MB / 0.8794 GB, free: 3.836 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.6465, allocations: 12.02 kB / 0.8794 GB, free: 3.824 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003392/0.6499, allocations: 0.505 MB / 0.8799 GB, free: 3.316 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001719/0.6516, allocations: 1.121 MB / 0.881 GB, free: 2.152 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.84e-05/0.6517, allocations: 127.4 kB / 0.8811 GB, free: 2.027 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001956/0.6519, allocations: 164 kB / 0.8812 GB, free: 1.867 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002895/0.6548, allocations: 1.843 MB / 0.883 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.73e-05/0.6549, allocations: 0 / 0.883 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001497/0.655, allocations: 76 kB / 0.8831 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.033e-05/0.6551, allocations: 40 kB / 0.8832 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003023/0.6581, allocations: 1.882 MB / 0.885 GB, free: 13.97 MB / 0.6544 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.00745/0.6655, allocations: 5.128 MB / 0.89 GB, free: 8.594 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002803/0.6684, allocations: 1.769 MB / 0.8917 GB, free: 6.754 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001073/0.6695, allocations: 0.6476 MB / 0.8924 GB, free: 6.105 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000943/0.6704, allocations: 0.8117 MB / 0.8932 GB, free: 5.129 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001504/0.6719, allocations: 0.8802 MB / 0.894 GB, free: 4.227 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=146): time 3.276e-06/0.6719, allocations: 0 / 0.894 GB, free: 4.227 MB / 0.6544 GB Notification: Performance of matching and sorting (n=146): time 0.005906/0.6778, allocations: 2.552 MB / 0.8965 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.678, allocations: 205.2 kB / 0.8967 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/0.6791, allocations: 0.8383 MB / 0.8975 GB, free: 468 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001341/0.6793, allocations: 61.64 kB / 0.8976 GB, free: 400 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005491/0.6798, allocations: 0.6445 MB / 0.8982 GB, free: 15.73 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003934/0.6802, allocations: 489 kB / 0.8987 GB, free: 15.25 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004005/0.6806, allocations: 258.7 kB / 0.8989 GB, free: 14.99 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.6808, allocations: 353.9 kB / 0.8993 GB, free: 14.64 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000944/0.6817, allocations: 498.3 kB / 0.8997 GB, free: 14.15 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001094/0.6828, allocations: 0.6346 MB / 0.9004 GB, free: 13.49 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002023/0.6849, allocations: 1.122 MB / 0.9015 GB, free: 12.36 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.403e-06/0.6849, allocations: 4 kB / 0.9015 GB, free: 12.35 MB / 0.67 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003392/0.6883, allocations: 1.55 MB / 0.903 GB, free: 10.78 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.6883, allocations: 4.094 kB / 0.903 GB, free: 10.77 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.477e-06/0.6883, allocations: 4 kB / 0.903 GB, free: 10.77 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008971/0.6892, allocations: 192.1 kB / 0.9032 GB, free: 10.57 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001507/0.6907, allocations: 339.5 kB / 0.9035 GB, free: 10.23 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005437/0.6962, allocations: 7.271 MB / 0.9106 GB, free: 2.266 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/0.6975, allocations: 154.8 kB / 0.9107 GB, free: 2.113 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/0.6977, allocations: 64.02 kB / 0.9108 GB, free: 2.051 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (156): * Single equations (assignments): 151 * 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.0007589/0.6984, allocations: 375.3 kB / 0.9112 GB, free: 1.676 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002649/0.6987, allocations: 126.5 kB / 0.9113 GB, free: 1.551 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003864/0.7026, allocations: 1.846 MB / 0.9131 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/0.7026, allocations: 12 kB / 0.9131 GB, free: 15.67 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.7026, allocations: 8 kB / 0.9131 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.779e-05/0.7026, allocations: 7.969 kB / 0.9131 GB, free: 15.65 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005755/0.7084, allocations: 3.444 MB / 0.9165 GB, free: 12.13 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/0.7084, allocations: 4 kB / 0.9165 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0014/0.7098, allocations: 319.6 kB / 0.9168 GB, free: 11.81 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007052/0.7106, allocations: 176.1 kB / 0.9169 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/0.7107, allocations: 39.97 kB / 0.917 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005245/0.7159, allocations: 7.327 MB / 0.9241 GB, free: 3.555 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.716, allocations: 0 / 0.9241 GB, free: 3.555 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00414/0.7201, allocations: 1.713 MB / 0.9258 GB, free: 1.805 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000993/0.7211, allocations: 402.9 kB / 0.9262 GB, free: 1.391 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002018/0.7213, allocations: 28 kB / 0.9262 GB, free: 1.363 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/0.7225, allocations: 108.1 kB / 0.9263 GB, free: 1.262 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002871/0.7228, allocations: 113.1 kB / 0.9264 GB, free: 1.152 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001611/0.723, allocations: 71.94 kB / 0.9265 GB, free: 1.082 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0008633/0.7239, allocations: 0.5745 MB / 0.9271 GB, free: 0.4961 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7239, allocations: 0 / 0.9271 GB, free: 0.4961 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001704/0.7256, allocations: 0.5844 MB / 0.9276 GB, free: 15.91 MB / 0.7012 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 (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001686/0.7273, allocations: 0.7073 MB / 0.9283 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003126/0.7304, allocations: 1.871 MB / 0.9301 GB, free: 13.45 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/0.7305, allocations: 8.562 kB / 0.9302 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001788/0.7323, allocations: 1.301 MB / 0.9314 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001861/0.7341, allocations: 0.5089 MB / 0.9319 GB, free: 11.58 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005375/0.7395, allocations: 2.868 MB / 0.9347 GB, free: 8.688 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007775/0.7403, allocations: 1.296 MB / 0.936 GB, free: 7.359 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001381/0.7417, allocations: 434.1 kB / 0.9364 GB, free: 6.93 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004088/0.7421, allocations: 163.2 kB / 0.9366 GB, free: 6.77 MB / 0.7012 GB Notification: Performance of SimCode: time 4.91e-07/0.7421, allocations: 0 / 0.9366 GB, free: 6.77 MB / 0.7012 GB Notification: Performance of Templates: time 0.3024/1.044, allocations: 26.89 MB / 0.9628 GB, free: 242.4 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)