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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8364/0.8364, allocations: 143.4 MB / 159.2 MB, free: 4.883 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 188.5 kB / 191.9 MB, free: 5.719 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 222.9 MB / 447.3 MB, free: 5.824 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 111.1 kB / 0.517 GB, free: 3.691 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001894/0.001894, allocations: 287.6 kB / 0.5973 GB, free: 49.36 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 79.88 kB / 0.6885 GB, free: 3.828 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3696/0.371, allocations: 81.3 MB / 0.7679 GB, free: 27.64 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise): time 0.5748/0.9458, allocations: 164.5 MB / 0.9285 GB, free: 488 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.02104/0.9669, allocations: 16.86 MB / 0.945 GB, free: 52 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002107/0.9691, allocations: 26.28 kB / 0.945 GB, free: 52 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001508/0.9706, allocations: 441.3 kB / 0.9454 GB, free: 32 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.004253/0.9749, allocations: 1.225 MB / 0.9466 GB, free: 15.97 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003816/0.9787, allocations: 1.23 MB / 0.9478 GB, free: 15.91 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.003226/0.9819, allocations: 2.54 MB / 0.9503 GB, free: 15.9 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00223/0.9842, allocations: 1.767 MB / 0.9521 GB, free: 15.64 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005655/0.9899, allocations: 1.131 MB / 0.9532 GB, free: 15.61 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00122/0.9911, allocations: 0.8765 MB / 0.954 GB, free: 15.5 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002198/0.9913, allocations: 112.5 kB / 0.9541 GB, free: 15.5 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003497/0.9948, allocations: 1.466 MB / 0.9556 GB, free: 15.47 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0004324/0.9953, allocations: 453.9 kB / 0.956 GB, free: 15.41 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0009132/0.9962, allocations: 0.8551 MB / 0.9568 GB, free: 15.13 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.003652/0.9998, allocations: 2.859 MB / 0.9596 GB, free: 14.75 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.9999, allocations: 0 / 0.9596 GB, free: 14.75 MB / 0.573 GB Notification: Performance of FrontEnd: time 8.42e-07/0.9999, allocations: 2.531 kB / 0.9596 GB, free: 14.75 MB / 0.573 GB Notification: Performance of Transformations before backend: time 2.979e-05/0.9999, allocations: 2.281 kB / 0.9596 GB, free: 14.75 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 421 * Number of variables: 421 Notification: Performance of Generate backend data structure: time 0.003775/1.004, allocations: 2.161 MB / 0.9617 GB, free: 13.71 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/1.004, allocations: 8.5 kB / 0.9617 GB, free: 13.71 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003284/1.007, allocations: 0.5031 MB / 0.9622 GB, free: 13.6 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001879/1.009, allocations: 1.045 MB / 0.9632 GB, free: 13.24 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.439e-05/1.009, allocations: 121.7 kB / 0.9634 GB, free: 13.23 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002222/1.009, allocations: 159.5 kB / 0.9635 GB, free: 13.23 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003373/1.013, allocations: 1.778 MB / 0.9652 GB, free: 12.71 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.867e-05/1.013, allocations: 0 / 0.9652 GB, free: 12.71 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001595/1.013, allocations: 78.47 kB / 0.9653 GB, free: 12.66 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.439e-05/1.013, allocations: 40.72 kB / 0.9654 GB, free: 12.66 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00317/1.016, allocations: 1.828 MB / 0.9671 GB, free: 11.79 MB / 0.573 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.007594/1.024, allocations: 5.024 MB / 0.9721 GB, free: 7.922 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002814/1.027, allocations: 1.668 MB / 0.9737 GB, free: 6.883 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0011/1.028, allocations: 0.6247 MB / 0.9743 GB, free: 6.57 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009011/1.029, allocations: 0.8061 MB / 0.9751 GB, free: 5.684 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001486/1.03, allocations: 0.8179 MB / 0.9759 GB, free: 5.184 MB / 0.573 GB Notification: Performance of pre-optimization done (n=137): time 3.367e-06/1.03, allocations: 0 / 0.9759 GB, free: 5.184 MB / 0.573 GB Notification: Performance of matching and sorting (n=137): time 0.005836/1.036, allocations: 2.431 MB / 0.9783 GB, free: 3.691 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/1.036, allocations: 200.4 kB / 0.9784 GB, free: 3.469 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/1.037, allocations: 0.7888 MB / 0.9792 GB, free: 3.023 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001251/1.037, allocations: 59.45 kB / 0.9793 GB, free: 2.969 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005106/1.038, allocations: 0.6158 MB / 0.9799 GB, free: 2.426 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003945/1.038, allocations: 465.7 kB / 0.9803 GB, free: 2.031 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003687/1.039, allocations: 237.9 kB / 0.9805 GB, free: 1.895 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001359/1.039, allocations: 351.5 kB / 0.9809 GB, free: 1.555 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009332/1.04, allocations: 466 kB / 0.9813 GB, free: 1.324 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001092/1.041, allocations: 0.605 MB / 0.9819 GB, free: 0.9688 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001977/1.043, allocations: 1.062 MB / 0.983 GB, free: 424 kB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.076e-06/1.043, allocations: 3.938 kB / 0.983 GB, free: 420 kB / 0.573 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003587/1.046, allocations: 1.469 MB / 0.9844 GB, free: 15.66 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/1.046, allocations: 5.219 kB / 0.9844 GB, free: 15.66 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/1.046, allocations: 0.9062 kB / 0.9844 GB, free: 15.66 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001001/1.047, allocations: 190.4 kB / 0.9846 GB, free: 15.55 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001488/1.049, allocations: 324.2 kB / 0.9849 GB, free: 15.49 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00526/1.054, allocations: 6.766 MB / 0.9915 GB, free: 8.172 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/1.056, allocations: 150.9 kB / 0.9916 GB, free: 8.023 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001242/1.056, allocations: 55.95 kB / 0.9917 GB, free: 7.969 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 139 * 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.0008097/1.056, allocations: 368.1 kB / 0.992 GB, free: 7.617 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002888/1.057, allocations: 134.5 kB / 0.9922 GB, free: 7.484 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003992/1.061, allocations: 1.75 MB / 0.9939 GB, free: 5.715 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/1.061, allocations: 12 kB / 0.9939 GB, free: 5.703 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/1.061, allocations: 8 kB / 0.9939 GB, free: 5.695 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.757e-05/1.061, allocations: 11.91 kB / 0.9939 GB, free: 5.684 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006471/1.067, allocations: 3.243 MB / 0.9971 GB, free: 2.414 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/1.067, allocations: 0 / 0.9971 GB, free: 2.414 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001484/1.069, allocations: 304.6 kB / 0.9974 GB, free: 2.129 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008889/1.07, allocations: 198.7 kB / 0.9976 GB, free: 1.922 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001036/1.07, allocations: 35.98 kB / 0.9976 GB, free: 1.887 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006203/1.076, allocations: 6.805 MB / 1.004 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.076, allocations: 2.562 kB / 1.004 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006298/1.082, allocations: 3.024 MB / 1.007 GB, free: 7.355 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008043/1.083, allocations: 379.2 kB / 1.008 GB, free: 6.965 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001579/1.083, allocations: 35.83 kB / 1.008 GB, free: 6.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/1.085, allocations: 114.1 kB / 1.008 GB, free: 6.82 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002543/1.085, allocations: 101.2 kB / 1.008 GB, free: 6.719 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000148/1.085, allocations: 63.95 kB / 1.008 GB, free: 6.656 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007661/1.086, allocations: 0.5459 MB / 1.008 GB, free: 6.117 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.81e-07/1.086, allocations: 4 kB / 1.008 GB, free: 6.113 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001695/1.087, allocations: 0.5571 MB / 1.009 GB, free: 5.555 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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/1.089, allocations: 0.723 MB / 1.01 GB, free: 5.055 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003293/1.092, allocations: 1.781 MB / 1.011 GB, free: 3.223 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/1.092, allocations: 4.562 kB / 1.011 GB, free: 3.219 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001924/1.094, allocations: 1.264 MB / 1.013 GB, free: 1.918 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002292/1.097, allocations: 479.5 kB / 1.013 GB, free: 1.461 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007177/1.104, allocations: 4.208 MB / 1.017 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009649/1.105, allocations: 1.313 MB / 1.018 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001859/1.107, allocations: 428.1 kB / 1.019 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004152/1.107, allocations: 143.4 kB / 1.019 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of SimCode: time 1.143e-06/1.107, allocations: 3.938 kB / 1.019 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of Templates: time 0.04335/1.151, allocations: 25.53 MB / 1.044 GB, free: 2.109 MB / 0.6355 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)