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.001356/0.001356, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001386/0.001386, allocations: 191.3 kB / 16.14 MB, free: 6.715 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.451/1.451, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002707/0.002707, allocations: 290.5 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.23/1.23, allocations: 178.6 MB / 0.5068 GB, free: 4.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002765/0.002765, allocations: 95.86 kB / 0.6057 GB, free: 25.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1683, allocations: 89.15 MB / 0.6928 GB, free: 4.84 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise): time 0.5057/0.674, allocations: 165.9 MB / 0.8548 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02255/0.6966, allocations: 17.12 MB / 0.8715 GB, free: 1.703 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002245/0.6989, allocations: 26.94 kB / 0.8716 GB, free: 1.691 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00169/0.7007, allocations: 469 kB / 0.872 GB, free: 1.316 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004671/0.7053, allocations: 1.444 MB / 0.8734 GB, free: 224 kB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00319/0.7085, allocations: 1.179 MB / 0.8746 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003591/0.7121, allocations: 2.85 MB / 0.8774 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00242/0.7146, allocations: 1.746 MB / 0.8791 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005523/0.7201, allocations: 1.19 MB / 0.8802 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001441/0.7216, allocations: 0.9571 MB / 0.8812 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002725/0.7219, allocations: 112 kB / 0.8813 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003055/0.7249, allocations: 1.466 MB / 0.8827 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004788/0.7254, allocations: 474.2 kB / 0.8831 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001125/0.7265, allocations: 0.9481 MB / 0.8841 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003981/0.7305, allocations: 3.03 MB / 0.887 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.7306, allocations: 4 kB / 0.887 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.082e-06/0.7306, allocations: 0 / 0.887 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.373e-05/0.7306, allocations: 0 / 0.887 GB, free: 5.164 MB / 0.6075 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.004307/0.7349, allocations: 2.283 MB / 0.8893 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.735, allocations: 12.03 kB / 0.8893 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003692/0.7387, allocations: 0.505 MB / 0.8898 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001876/0.7406, allocations: 1.082 MB / 0.8908 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/0.7407, allocations: 131.4 kB / 0.891 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002364/0.7409, allocations: 164 kB / 0.8911 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003642/0.7446, allocations: 1.847 MB / 0.8929 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.706e-05/0.7446, allocations: 0 / 0.8929 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001627/0.7448, allocations: 76 kB / 0.893 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.1e-05/0.7448, allocations: 40 kB / 0.893 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003466/0.7483, allocations: 1.882 MB / 0.8949 GB, free: 12.98 MB / 0.6231 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.008623/0.757, allocations: 5.537 MB / 0.9003 GB, free: 7.109 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003491/0.7605, allocations: 1.775 MB / 0.902 GB, free: 5.262 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001255/0.7617, allocations: 0.6554 MB / 0.9026 GB, free: 4.605 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001037/0.7628, allocations: 0.8077 MB / 0.9034 GB, free: 3.633 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001904/0.7647, allocations: 0.8918 MB / 0.9043 GB, free: 2.719 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=146): time 2.705e-06/0.7647, allocations: 3.938 kB / 0.9043 GB, free: 2.715 MB / 0.6231 GB Notification: Performance of matching and sorting (n=146): time 0.006666/0.7714, allocations: 2.552 MB / 0.9068 GB, free: 52 kB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001437/0.7715, allocations: 201.2 kB / 0.907 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/0.7728, allocations: 0.8383 MB / 0.9078 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001351/0.7729, allocations: 57.7 kB / 0.9079 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005902/0.7735, allocations: 0.6368 MB / 0.9085 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000445/0.774, allocations: 481 kB / 0.9089 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004427/0.7744, allocations: 254.8 kB / 0.9092 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.7746, allocations: 353.9 kB / 0.9095 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001101/0.7757, allocations: 0.4906 MB / 0.91 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001257/0.777, allocations: 0.6346 MB / 0.9106 GB, free: 12 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002322/0.7793, allocations: 1.122 MB / 0.9117 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.7793, allocations: 0 / 0.9117 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003757/0.7831, allocations: 1.55 MB / 0.9132 GB, free: 9.293 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.7831, allocations: 8 kB / 0.9132 GB, free: 9.285 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.7831, allocations: 0 / 0.9132 GB, free: 9.285 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009705/0.7841, allocations: 192.2 kB / 0.9134 GB, free: 9.082 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001645/0.7858, allocations: 343.6 kB / 0.9138 GB, free: 8.746 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006303/0.7921, allocations: 6.784 MB / 0.9204 GB, free: 1.289 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/0.7935, allocations: 178.8 kB / 0.9205 GB, free: 1.113 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/0.7937, allocations: 55.89 kB / 0.9206 GB, free: 1.059 MB / 0.6387 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.0007757/0.7945, allocations: 375.3 kB / 0.921 GB, free: 0.6836 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002939/0.7948, allocations: 134.4 kB / 0.9211 GB, free: 0.5508 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00447/0.7992, allocations: 1.843 MB / 0.9229 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-05/0.7993, allocations: 19.98 kB / 0.9229 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.7993, allocations: 4 kB / 0.9229 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.448e-05/0.7993, allocations: 7.969 kB / 0.9229 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006423/0.8057, allocations: 3.431 MB / 0.9263 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.8058, allocations: 0 / 0.9263 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001514/0.8073, allocations: 315.6 kB / 0.9266 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000846/0.8081, allocations: 200 kB / 0.9268 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001062/0.8083, allocations: 39.97 kB / 0.9268 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006175/0.8144, allocations: 6.798 MB / 0.9334 GB, free: 3.113 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.8145, allocations: 0 / 0.9334 GB, free: 3.113 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00418/0.8186, allocations: 1.707 MB / 0.9351 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008214/0.8195, allocations: 406.9 kB / 0.9355 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002037/0.8197, allocations: 35.94 kB / 0.9355 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001286/0.821, allocations: 127.1 kB / 0.9356 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002742/0.8213, allocations: 109.2 kB / 0.9357 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001651/0.8215, allocations: 75.88 kB / 0.9358 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009109/0.8224, allocations: 0.5823 MB / 0.9364 GB, free: 28 kB / 0.6544 GB Notification: Performance of sort global known variables: time 2.184e-06/0.8224, allocations: 0 / 0.9364 GB, free: 28 kB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001773/0.8242, allocations: 0.6116 MB / 0.937 GB, free: 15.41 MB / 0.67 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.002304/0.8265, allocations: 0.7174 MB / 0.9377 GB, free: 14.88 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00366/0.8302, allocations: 1.864 MB / 0.9395 GB, free: 12.95 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.8302, allocations: 0.5625 kB / 0.9395 GB, free: 12.95 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002148/0.8323, allocations: 1.305 MB / 0.9408 GB, free: 11.58 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002251/0.8346, allocations: 499 kB / 0.9413 GB, free: 11.1 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006148/0.8408, allocations: 3.559 MB / 0.9447 GB, free: 7.523 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001124/0.8419, allocations: 1.296 MB / 0.946 GB, free: 6.195 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001933/0.8439, allocations: 434.3 kB / 0.9464 GB, free: 5.766 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004777/0.8443, allocations: 155.3 kB / 0.9466 GB, free: 5.613 MB / 0.67 GB Notification: Performance of SimCode: time 4.71e-07/0.8443, allocations: 0 / 0.9466 GB, free: 5.613 MB / 0.67 GB Notification: Performance of Templates: time 0.05491/0.8993, allocations: 26.65 MB / 0.9726 GB, free: 11.31 MB / 0.7012 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)