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.001345/0.001345, allocations: 110.2 kB / 16.41 MB, free: 6.496 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.001355/0.001355, allocations: 185.6 kB / 17.34 MB, free: 5.762 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.324/1.324, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002118/0.002118, allocations: 281.8 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9315/0.9315, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002007, allocations: 103.8 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4425/0.4445, allocations: 86.97 MB / 0.767 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1725/0.6171, allocations: 167 MB / 0.9302 GB, free: 12.37 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02118/0.6383, allocations: 16.94 MB / 0.9467 GB, free: 11.36 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00136/0.6397, allocations: 27.81 kB / 0.9467 GB, free: 11.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001708/0.6415, allocations: 0.508 MB / 0.9472 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004553/0.6461, allocations: 1.517 MB / 0.9487 GB, free: 9.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003374/0.6495, allocations: 1.319 MB / 0.95 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003207/0.6527, allocations: 2.49 MB / 0.9524 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002931/0.6557, allocations: 1.94 MB / 0.9543 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003872/0.6595, allocations: 1.329 MB / 0.9556 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00135/0.6609, allocations: 0.9568 MB / 0.9566 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0005334/0.6615, allocations: 204 kB / 0.9568 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4226/1.084, allocations: 1.425 MB / 0.9581 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008319/1.085, allocations: 0.5503 MB / 0.9587 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00161/1.087, allocations: 0.9925 MB / 0.9597 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005762/1.092, allocations: 3.05 MB / 0.9626 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/1.092, allocations: 0 / 0.9626 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.825e-06/1.092, allocations: 1.859 kB / 0.9626 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.856e-05/1.092, allocations: 6 kB / 0.9626 GB, free: 6.754 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.00484/1.097, allocations: 2.249 MB / 0.9648 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/1.097, allocations: 11.05 kB / 0.9648 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003716/1.101, allocations: 0.5018 MB / 0.9653 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00191/1.103, allocations: 1.122 MB / 0.9664 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.067e-05/1.103, allocations: 130.7 kB / 0.9666 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001977/1.103, allocations: 170.5 kB / 0.9667 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003187/1.106, allocations: 1.84 MB / 0.9685 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.808e-05/1.106, allocations: 1.875 kB / 0.9685 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001812/1.107, allocations: 77.19 kB / 0.9686 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.569e-05/1.107, allocations: 42.56 kB / 0.9686 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002991/1.11, allocations: 1.872 MB / 0.9705 GB, free: 5.039 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.006778/1.117, allocations: 5.123 MB / 0.9755 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002573/1.119, allocations: 1.764 MB / 0.9772 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009864/1.12, allocations: 0.6502 MB / 0.9778 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008704/1.121, allocations: 0.8033 MB / 0.9786 GB, free: 17.97 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001411/1.122, allocations: 0.8887 MB / 0.9795 GB, free: 17.88 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 3.025e-06/1.122, allocations: 0.8438 kB / 0.9795 GB, free: 17.88 MB / 0.7325 GB Notification: Performance of matching and sorting (n=146): time 0.005751/1.128, allocations: 2.566 MB / 0.982 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001336/1.128, allocations: 194.9 kB / 0.9822 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001303/1.13, allocations: 0.8362 MB / 0.983 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002161/1.13, allocations: 57.41 kB / 0.983 GB, free: 16.83 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005575/1.13, allocations: 0.6382 MB / 0.9837 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003891/1.131, allocations: 489.1 kB / 0.9841 GB, free: 16.22 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003821/1.131, allocations: 255.3 kB / 0.9844 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001372/1.131, allocations: 355.3 kB / 0.9847 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008692/1.132, allocations: 494.5 kB / 0.9852 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/1.133, allocations: 0.6413 MB / 0.9858 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001867/1.135, allocations: 1.122 MB / 0.9869 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/1.135, allocations: 0.5625 kB / 0.9869 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003204/1.138, allocations: 1.549 MB / 0.9884 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/1.138, allocations: 8.906 kB / 0.9884 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/1.138, allocations: 0 / 0.9884 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008709/1.139, allocations: 190.4 kB / 0.9886 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001474/1.141, allocations: 341.3 kB / 0.9889 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005764/1.147, allocations: 7.284 MB / 0.996 GB, free: 8.781 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001661/1.148, allocations: 147.3 kB / 0.9962 GB, free: 8.723 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001522/1.148, allocations: 56.61 kB / 0.9962 GB, free: 8.723 MB / 0.7325 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.0009848/1.149, allocations: 390.5 kB / 0.9966 GB, free: 8.602 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003912/1.15, allocations: 128.8 kB / 0.9967 GB, free: 8.539 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003762/1.154, allocations: 1.839 MB / 0.9985 GB, free: 8.379 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/1.154, allocations: 16.38 kB / 0.9985 GB, free: 8.379 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/1.154, allocations: 6.656 kB / 0.9986 GB, free: 8.379 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.702e-05/1.154, allocations: 9.312 kB / 0.9986 GB, free: 8.379 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005832/1.16, allocations: 3.425 MB / 1.002 GB, free: 7.941 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/1.16, allocations: 1.203 kB / 1.002 GB, free: 7.941 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001436/1.161, allocations: 312.3 kB / 1.002 GB, free: 7.941 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007666/1.162, allocations: 185.2 kB / 1.002 GB, free: 7.902 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001438/1.162, allocations: 43.28 kB / 1.002 GB, free: 7.902 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005613/1.168, allocations: 7.321 MB / 1.01 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.168, allocations: 0 / 1.01 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003741/1.171, allocations: 1.717 MB / 1.011 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008227/1.172, allocations: 397.1 kB / 1.012 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002123/1.172, allocations: 36.28 kB / 1.012 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/1.174, allocations: 102.6 kB / 1.012 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002334/1.174, allocations: 111.8 kB / 1.012 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001439/1.174, allocations: 73.53 kB / 1.012 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007261/1.175, allocations: 0.577 MB / 1.013 GB, free: 0.543 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/1.175, allocations: 0.9375 kB / 1.013 GB, free: 0.543 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001765/1.177, allocations: 0.5787 MB / 1.013 GB, free: 452 kB / 0.7325 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.001754/1.178, allocations: 0.7289 MB / 1.014 GB, free: 240 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003372/1.182, allocations: 1.869 MB / 1.016 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.176e-06/1.182, allocations: 4.031 kB / 1.016 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001898/1.184, allocations: 1.307 MB / 1.017 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002238/1.186, allocations: 0.5055 MB / 1.017 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005813/1.192, allocations: 2.927 MB / 1.02 GB, free: 14 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008271/1.193, allocations: 1.301 MB / 1.022 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006426/1.193, allocations: 178.9 kB / 1.022 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of SimCode: time 1.353e-06/1.193, allocations: 0 / 1.022 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of Templates: time 0.06109/1.254, allocations: 57.41 MB / 1.078 GB, free: 0.625 MB / 0.7794 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)