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.004818/0.004818, allocations: 95.98 kB / 15.73 MB, free: 6.039 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.001101/0.001101, allocations: 197.9 kB / 16.68 MB, free: 5.969 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.4 MB, free: 4.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.002093/0.002093, allocations: 289.6 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9556/0.9556, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001657, allocations: 95.86 kB / 0.6814 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.1832, allocations: 86.97 MB / 0.7664 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise): time 0.6174/0.8006, allocations: 167 MB / 0.9295 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02155/0.8222, allocations: 16.95 MB / 0.9461 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001571/0.8238, allocations: 23.88 kB / 0.9461 GB, free: 10.74 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001579/0.8254, allocations: 0.5041 MB / 0.9466 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.004999/0.8305, allocations: 1.52 MB / 0.9481 GB, free: 8.715 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.004268/0.8348, allocations: 1.31 MB / 0.9493 GB, free: 7.414 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.003582/0.8384, allocations: 2.5 MB / 0.9518 GB, free: 4.906 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003288/0.8417, allocations: 1.94 MB / 0.9537 GB, free: 2.918 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004215/0.8459, allocations: 1.311 MB / 0.9549 GB, free: 1.668 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002127/0.848, allocations: 0.9529 MB / 0.9559 GB, free: 0.7109 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.001113/0.8492, allocations: 208 kB / 0.9561 GB, free: 0.5078 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005433/0.8546, allocations: 1.419 MB / 0.9575 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001509/0.8561, allocations: 0.5608 MB / 0.958 GB, free: 14.52 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002602/0.8587, allocations: 0.9912 MB / 0.959 GB, free: 13.53 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00592/0.8647, allocations: 3.065 MB / 0.962 GB, free: 10.45 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.8647, allocations: 4 kB / 0.962 GB, free: 10.45 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.493e-06/0.8647, allocations: 4 kB / 0.962 GB, free: 10.45 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001057/0.8648, allocations: 0 / 0.962 GB, free: 10.45 MB / 0.7169 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.004768/0.8696, allocations: 2.304 MB / 0.9642 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.8697, allocations: 15.95 kB / 0.9642 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00345/0.8731, allocations: 0.5178 MB / 0.9648 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001697/0.8748, allocations: 1.129 MB / 0.9659 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.8749, allocations: 131.4 kB / 0.966 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001989/0.8751, allocations: 160 kB / 0.9661 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003209/0.8784, allocations: 1.851 MB / 0.9679 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.215e-05/0.8784, allocations: 0 / 0.9679 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001614/0.8786, allocations: 72 kB / 0.968 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.344e-05/0.8786, allocations: 44 kB / 0.968 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003285/0.8819, allocations: 1.878 MB / 0.9699 GB, free: 2.18 MB / 0.7169 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.007516/0.8894, allocations: 5.131 MB / 0.9749 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003056/0.8925, allocations: 1.771 MB / 0.9766 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001112/0.8936, allocations: 0.6437 MB / 0.9773 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008695/0.8945, allocations: 0.8116 MB / 0.978 GB, free: 9.344 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001658/0.8962, allocations: 0.888 MB / 0.9789 GB, free: 8.434 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 3.366e-06/0.8962, allocations: 0 / 0.9789 GB, free: 8.434 MB / 0.7325 GB Notification: Performance of matching and sorting (n=146): time 0.006294/0.9025, allocations: 2.557 MB / 0.9814 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/0.9026, allocations: 209.2 kB / 0.9816 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001475/0.9041, allocations: 0.8305 MB / 0.9824 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001537/0.9043, allocations: 61.7 kB / 0.9825 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006823/0.905, allocations: 0.6538 MB / 0.9831 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004912/0.9055, allocations: 0.4995 MB / 0.9836 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000445/0.9059, allocations: 258.8 kB / 0.9839 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.9061, allocations: 353.9 kB / 0.9842 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00103/0.9071, allocations: 498.3 kB / 0.9847 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001231/0.9084, allocations: 0.6385 MB / 0.9853 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002273/0.9107, allocations: 1.122 MB / 0.9864 GB, free: 0.5312 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/0.9107, allocations: 4 kB / 0.9864 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003611/0.9143, allocations: 1.558 MB / 0.9879 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.81e-05/0.9143, allocations: 8 kB / 0.9879 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.9144, allocations: 0 / 0.9879 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009/0.9153, allocations: 184.2 kB / 0.9881 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001538/0.9168, allocations: 343.5 kB / 0.9884 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006805/0.9236, allocations: 7.281 MB / 0.9955 GB, free: 6.414 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001302/0.925, allocations: 147.2 kB / 0.9957 GB, free: 6.27 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001757/0.9251, allocations: 59.95 kB / 0.9957 GB, free: 6.211 MB / 0.7481 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.0008333/0.926, allocations: 379.9 kB / 0.9961 GB, free: 5.828 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003988/0.9264, allocations: 139.2 kB / 0.9962 GB, free: 5.691 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004167/0.9306, allocations: 1.843 MB / 0.998 GB, free: 3.824 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/0.9306, allocations: 16 kB / 0.998 GB, free: 3.809 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.9306, allocations: 3.938 kB / 0.998 GB, free: 3.805 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.545e-05/0.9306, allocations: 11.97 kB / 0.9981 GB, free: 3.793 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006362/0.937, allocations: 3.44 MB / 1.001 GB, free: 284 kB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.937, allocations: 7.875 kB / 1.001 GB, free: 276 kB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001368/0.9384, allocations: 311.6 kB / 1.002 GB, free: 15.96 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007302/0.9391, allocations: 180.2 kB / 1.002 GB, free: 15.77 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001191/0.9393, allocations: 39.97 kB / 1.002 GB, free: 15.73 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005896/0.9452, allocations: 7.33 MB / 1.009 GB, free: 7.699 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.9452, allocations: 0 / 1.009 GB, free: 7.699 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003968/0.9492, allocations: 1.721 MB / 1.011 GB, free: 5.941 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009081/0.9501, allocations: 407.6 kB / 1.011 GB, free: 5.523 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003066/0.9504, allocations: 28 kB / 1.011 GB, free: 5.496 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001331/0.9518, allocations: 104.9 kB / 1.011 GB, free: 5.398 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002519/0.952, allocations: 117.1 kB / 1.011 GB, free: 5.285 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001801/0.9522, allocations: 71.94 kB / 1.011 GB, free: 5.215 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0009664/0.9532, allocations: 0.5745 MB / 1.012 GB, free: 4.629 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9532, allocations: 0 / 1.012 GB, free: 4.629 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001686/0.9549, allocations: 0.5922 MB / 1.013 GB, free: 4.035 MB / 0.7637 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.001855/0.9568, allocations: 0.7236 MB / 1.013 GB, free: 3.496 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003452/0.9602, allocations: 1.871 MB / 1.015 GB, free: 1.559 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.9602, allocations: 4.5 kB / 1.015 GB, free: 1.555 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002159/0.9624, allocations: 1.309 MB / 1.016 GB, free: 188 kB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002447/0.9649, allocations: 0.5103 MB / 1.017 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006534/0.9714, allocations: 2.915 MB / 1.02 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001355/0.9728, allocations: 1.296 MB / 1.021 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001876/0.9747, allocations: 442.1 kB / 1.021 GB, free: 11 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005602/0.9753, allocations: 155.3 kB / 1.022 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of SimCode: time 8.82e-07/0.9753, allocations: 0 / 1.022 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of Templates: time 0.04727/1.023, allocations: 27.16 MB / 1.048 GB, free: 20 kB / 0.795 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)