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.0009011/0.0009011, 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.005126/0.005126, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.366/1.366, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00176/0.00176, allocations: 267.1 kB / 291.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.047/1.047, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005996/0.0005997, allocations: 17.08 kB / 0.5987 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.1915, allocations: 88.54 MB / 0.6851 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise): time 0.4663/0.6579, allocations: 162.5 MB / 0.8438 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02085/0.6788, allocations: 16.74 MB / 0.8602 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001725/0.6805, allocations: 25.59 kB / 0.8602 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001324/0.6819, allocations: 439 kB / 0.8606 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003892/0.6858, allocations: 1.356 MB / 0.862 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003137/0.6889, allocations: 1.166 MB / 0.8631 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002567/0.6915, allocations: 2.639 MB / 0.8657 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001993/0.6935, allocations: 1.669 MB / 0.8673 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00469/0.6982, allocations: 1.004 MB / 0.8683 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001009/0.6992, allocations: 0.736 MB / 0.869 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001424/0.6994, allocations: 44.12 kB / 0.869 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002958/0.7023, allocations: 1.395 MB / 0.8704 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003529/0.7027, allocations: 361.8 kB / 0.8708 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007337/0.7035, allocations: 0.7935 MB / 0.8715 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003316/0.7068, allocations: 2.872 MB / 0.8743 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.7068, allocations: 2.906 kB / 0.8743 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7068, allocations: 0 / 0.8743 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.536e-05/0.7068, allocations: 0 / 0.8743 GB, free: 12.98 MB / 0.5919 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.003176/0.71, allocations: 1.859 MB / 0.8761 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.7101, allocations: 10.94 kB / 0.8762 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003409/0.7135, allocations: 0.5175 MB / 0.8767 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001511/0.715, allocations: 1.075 MB / 0.8777 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.74e-05/0.7151, allocations: 124.7 kB / 0.8778 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000216/0.7153, allocations: 171.7 kB / 0.878 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003214/0.7185, allocations: 1.847 MB / 0.8798 GB, free: 8.469 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.831e-05/0.7186, allocations: 3.938 kB / 0.8798 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001649/0.7188, allocations: 72 kB / 0.8799 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.243e-05/0.7188, allocations: 44 kB / 0.8799 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003261/0.7221, allocations: 1.882 MB / 0.8818 GB, free: 6.465 MB / 0.5919 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.007759/0.7298, allocations: 5.217 MB / 0.8868 GB, free: 0.9961 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00301/0.7329, allocations: 1.775 MB / 0.8886 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001168/0.734, allocations: 0.6527 MB / 0.8892 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008934/0.7349, allocations: 0.8194 MB / 0.89 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001672/0.7366, allocations: 0.8918 MB / 0.8909 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=146): time 3.036e-06/0.7366, allocations: 0 / 0.8909 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of matching and sorting (n=146): time 0.006232/0.7429, allocations: 2.572 MB / 0.8934 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001228/0.743, allocations: 201.2 kB / 0.8936 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001278/0.7443, allocations: 0.8383 MB / 0.8944 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001584/0.7445, allocations: 53.7 kB / 0.8945 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005925/0.7451, allocations: 0.6445 MB / 0.8951 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004545/0.7455, allocations: 489 kB / 0.8956 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001757/0.7457, allocations: 105.7 kB / 0.8957 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.7459, allocations: 361.9 kB / 0.896 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/0.747, allocations: 498.3 kB / 0.8965 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001154/0.7481, allocations: 0.6424 MB / 0.8971 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00222/0.7503, allocations: 1.13 MB / 0.8982 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.7504, allocations: 0 / 0.8982 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003532/0.7539, allocations: 1.558 MB / 0.8997 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.7539, allocations: 4 kB / 0.8997 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.754, allocations: 7.938 kB / 0.8997 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009762/0.7549, allocations: 192.2 kB / 0.8999 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001605/0.7566, allocations: 343.5 kB / 0.9003 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005485/0.7621, allocations: 6.77 MB / 0.9069 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/0.7636, allocations: 183.5 kB / 0.907 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/0.7637, allocations: 59.91 kB / 0.9071 GB, free: 11.04 MB / 0.6231 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.000795/0.7645, allocations: 372.7 kB / 0.9075 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002313/0.7647, allocations: 130.4 kB / 0.9076 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004303/0.7691, allocations: 1.854 MB / 0.9094 GB, free: 8.645 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.258e-05/0.7691, allocations: 20.02 kB / 0.9094 GB, free: 8.625 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/0.7691, allocations: 4 kB / 0.9094 GB, free: 8.621 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.479e-05/0.7691, allocations: 11.97 kB / 0.9094 GB, free: 8.609 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006035/0.7752, allocations: 3.443 MB / 0.9128 GB, free: 5.094 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.7752, allocations: 3.984 kB / 0.9128 GB, free: 5.09 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001448/0.7767, allocations: 319.5 kB / 0.9131 GB, free: 4.777 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008275/0.7775, allocations: 196 kB / 0.9133 GB, free: 4.57 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001064/0.7776, allocations: 43.97 kB / 0.9133 GB, free: 4.527 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005407/0.783, allocations: 6.81 MB / 0.92 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.7831, allocations: 4 kB / 0.92 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003813/0.7869, allocations: 1.722 MB / 0.9217 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007205/0.7876, allocations: 414.8 kB / 0.9221 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001736/0.7878, allocations: 39.92 kB / 0.9221 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001262/0.7891, allocations: 133.1 kB / 0.9222 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002439/0.7893, allocations: 117.1 kB / 0.9223 GB, free: 10.58 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001401/0.7895, allocations: 63.95 kB / 0.9224 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007865/0.7903, allocations: 0.5784 MB / 0.923 GB, free: 9.926 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7903, allocations: 4 kB / 0.923 GB, free: 9.922 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00149/0.7918, allocations: 0.5805 MB / 0.9235 GB, free: 9.34 MB / 0.6387 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.001672/0.7934, allocations: 0.7233 MB / 0.9242 GB, free: 8.797 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003326/0.7968, allocations: 1.875 MB / 0.9261 GB, free: 6.859 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/0.7968, allocations: 4.562 kB / 0.9261 GB, free: 6.855 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001946/0.7988, allocations: 1.309 MB / 0.9273 GB, free: 5.48 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002312/0.8011, allocations: 486.2 kB / 0.9278 GB, free: 5.012 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006464/0.8076, allocations: 3.704 MB / 0.9314 GB, free: 1.281 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008865/0.8085, allocations: 1.296 MB / 0.9327 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001849/0.8103, allocations: 434.1 kB / 0.9331 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004286/0.8108, allocations: 151.3 kB / 0.9333 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of SimCode: time 8.11e-07/0.8108, allocations: 0 / 0.9333 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of Templates: time 0.04411/0.8549, allocations: 25.7 MB / 0.9584 GB, free: 5.996 MB / 0.67 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)