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.001388/0.001388, allocations: 108.3 kB / 16.27 MB, free: 6.406 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.001431/0.001431, allocations: 193 kB / 17.2 MB, free: 5.973 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.351/1.351, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002225/0.002225, allocations: 277.2 kB / 291.3 MB, free: 14.57 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9472/0.9472, allocations: 169.3 MB / 0.4988 GB, free: 4.539 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 99.11 kB / 0.5959 GB, free: 15.2 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1618, allocations: 86.97 MB / 0.6808 GB, free: 8.234 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise): time 0.4629/0.6247, allocations: 167 MB / 0.844 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02369/0.6485, allocations: 16.94 MB / 0.8605 GB, free: 7.051 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001438/0.65, allocations: 23.88 kB / 0.8605 GB, free: 7.027 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001877/0.6519, allocations: 0.508 MB / 0.861 GB, free: 6.516 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005265/0.6572, allocations: 1.522 MB / 0.8625 GB, free: 4.992 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003822/0.661, allocations: 1.301 MB / 0.8638 GB, free: 3.703 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003616/0.6647, allocations: 2.487 MB / 0.8662 GB, free: 1.207 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003432/0.6681, allocations: 1.93 MB / 0.8681 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005228/0.6734, allocations: 1.304 MB / 0.8694 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001628/0.6751, allocations: 0.949 MB / 0.8703 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0006348/0.6757, allocations: 216 kB / 0.8705 GB, free: 12.81 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003258/0.679, allocations: 1.392 MB / 0.8719 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007878/0.6798, allocations: 0.5491 MB / 0.8724 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001651/0.6814, allocations: 0.995 MB / 0.8734 GB, free: 9.863 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004876/0.6863, allocations: 2.987 MB / 0.8763 GB, free: 6.867 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.6864, allocations: 0 / 0.8763 GB, free: 6.867 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.823e-06/0.6864, allocations: 0 / 0.8763 GB, free: 6.867 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.712e-05/0.6865, allocations: 0 / 0.8763 GB, free: 6.867 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.005024/0.6915, allocations: 2.257 MB / 0.8785 GB, free: 4.547 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.6915, allocations: 8.031 kB / 0.8785 GB, free: 4.539 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00395/0.6955, allocations: 0.5128 MB / 0.879 GB, free: 4.023 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002188/0.6977, allocations: 1.082 MB / 0.88 GB, free: 2.898 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001257/0.6979, allocations: 131.4 kB / 0.8802 GB, free: 2.77 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003603/0.6982, allocations: 164 kB / 0.8803 GB, free: 2.609 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00404/0.7023, allocations: 1.847 MB / 0.8821 GB, free: 0.7109 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.67e-05/0.7023, allocations: 0 / 0.8821 GB, free: 0.7109 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002331/0.7026, allocations: 72 kB / 0.8822 GB, free: 0.6406 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-05/0.7026, allocations: 51.98 kB / 0.8822 GB, free: 0.5898 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003586/0.7062, allocations: 1.871 MB / 0.8841 GB, free: 14.71 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.009331/0.7156, allocations: 5.183 MB / 0.8891 GB, free: 9.281 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003457/0.7191, allocations: 1.775 MB / 0.8909 GB, free: 7.434 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001293/0.7204, allocations: 0.6476 MB / 0.8915 GB, free: 6.785 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009497/0.7214, allocations: 0.8039 MB / 0.8923 GB, free: 5.816 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001848/0.7233, allocations: 0.888 MB / 0.8932 GB, free: 4.906 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=146): time 4.218e-06/0.7233, allocations: 0 / 0.8932 GB, free: 4.906 MB / 0.6544 GB Notification: Performance of matching and sorting (n=146): time 0.00662/0.7299, allocations: 2.552 MB / 0.8956 GB, free: 2.242 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/0.7301, allocations: 197.2 kB / 0.8958 GB, free: 2.008 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001407/0.7315, allocations: 0.8461 MB / 0.8967 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002008/0.7317, allocations: 57.7 kB / 0.8967 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006023/0.7323, allocations: 0.6407 MB / 0.8973 GB, free: 432 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005001/0.7328, allocations: 485.1 kB / 0.8978 GB, free: 15.94 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004677/0.7333, allocations: 254.7 kB / 0.898 GB, free: 15.68 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.7335, allocations: 353.9 kB / 0.8984 GB, free: 15.33 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001093/0.7346, allocations: 0.4944 MB / 0.8989 GB, free: 14.84 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001244/0.7358, allocations: 0.6385 MB / 0.8995 GB, free: 14.17 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002331/0.7382, allocations: 1.115 MB / 0.9006 GB, free: 13.04 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/0.7382, allocations: 4 kB / 0.9006 GB, free: 13.04 MB / 0.67 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003763/0.7419, allocations: 1.554 MB / 0.9021 GB, free: 11.46 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.742, allocations: 4 kB / 0.9021 GB, free: 11.46 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.742, allocations: 0 / 0.9021 GB, free: 11.46 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009789/0.743, allocations: 196.2 kB / 0.9023 GB, free: 11.25 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001604/0.7446, allocations: 335.5 kB / 0.9026 GB, free: 10.92 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006402/0.751, allocations: 7.289 MB / 0.9097 GB, free: 2.938 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/0.7526, allocations: 161.9 kB / 0.9099 GB, free: 2.781 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002565/0.7529, allocations: 59.95 kB / 0.9099 GB, free: 2.723 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.0009974/0.7539, allocations: 376.2 kB / 0.9103 GB, free: 2.348 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004935/0.7544, allocations: 126.5 kB / 0.9104 GB, free: 2.223 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004602/0.759, allocations: 1.842 MB / 0.9122 GB, free: 364 kB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.748e-05/0.759, allocations: 19.98 kB / 0.9122 GB, free: 344 kB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/0.7591, allocations: 0 / 0.9122 GB, free: 344 kB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.736e-05/0.7591, allocations: 3.984 kB / 0.9122 GB, free: 340 kB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006886/0.766, allocations: 3.454 MB / 0.9156 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.766, allocations: 0 / 0.9156 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001511/0.7675, allocations: 315.5 kB / 0.9159 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007932/0.7683, allocations: 184.1 kB / 0.9161 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001192/0.7685, allocations: 39.97 kB / 0.9161 GB, free: 12.26 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006168/0.7746, allocations: 7.332 MB / 0.9233 GB, free: 4.219 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.7747, allocations: 0 / 0.9233 GB, free: 4.219 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004507/0.7792, allocations: 1.711 MB / 0.925 GB, free: 2.477 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009427/0.7802, allocations: 398.9 kB / 0.9253 GB, free: 2.066 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003339/0.7805, allocations: 31.98 kB / 0.9254 GB, free: 2.035 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001387/0.7819, allocations: 96.84 kB / 0.9255 GB, free: 1.941 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003119/0.7823, allocations: 113.2 kB / 0.9256 GB, free: 1.832 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002065/0.7825, allocations: 71.94 kB / 0.9256 GB, free: 1.762 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0009519/0.7834, allocations: 0.5784 MB / 0.9262 GB, free: 1.172 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7835, allocations: 7.875 kB / 0.9262 GB, free: 1.164 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001753/0.7852, allocations: 0.5766 MB / 0.9268 GB, free: 0.5859 MB / 0.6856 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.001886/0.7871, allocations: 0.7154 MB / 0.9275 GB, free: 52 kB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00564/0.7928, allocations: 2.305 MB / 0.9297 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/0.7928, allocations: 0.5625 kB / 0.9297 GB, free: 13.67 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002233/0.795, allocations: 1.309 MB / 0.931 GB, free: 12.3 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002642/0.7977, allocations: 0.5121 MB / 0.9315 GB, free: 11.81 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006837/0.8046, allocations: 2.973 MB / 0.9344 GB, free: 8.812 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00108/0.8057, allocations: 1.296 MB / 0.9357 GB, free: 7.488 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007182/0.8064, allocations: 179.3 kB / 0.9358 GB, free: 7.312 MB / 0.7012 GB Notification: Performance of SimCode: time 8.11e-07/0.8064, allocations: 3.938 kB / 0.9358 GB, free: 7.309 MB / 0.7012 GB Notification: Performance of Templates: time 0.324/1.13, allocations: 57.23 MB / 0.9917 GB, free: 231.2 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)