Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside") translateModel(BuildingSystems.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 108.9 kB / 16.41 MB, free: 6.449 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.001224/0.001224, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.404/1.404, 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.002521/0.002521, allocations: 286.7 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 1.062/1.062, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002869/0.002869, allocations: 99.84 kB / 0.6821 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4356/0.4384, allocations: 86.98 MB / 0.767 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside): time 0.2085/0.6469, allocations: 176.5 MB / 0.9394 GB, free: 2.703 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01647/0.6634, allocations: 10.87 MB / 0.95 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001141/0.6645, allocations: 31.81 kB / 0.95 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001164/0.6657, allocations: 412.8 kB / 0.9504 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003042/0.6688, allocations: 1.083 MB / 0.9515 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004196/0.6729, allocations: 1.714 MB / 0.9532 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003042/0.676, allocations: 2.299 MB / 0.9554 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001838/0.6778, allocations: 1.185 MB / 0.9566 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.428/1.106, allocations: 1.274 MB / 0.9578 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001616/1.107, allocations: 0.7926 MB / 0.9586 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0006691/1.108, allocations: 154.8 kB / 0.9587 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004567/1.113, allocations: 1.42 MB / 0.9601 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005216/1.113, allocations: 453.7 kB / 0.9606 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0009741/1.114, allocations: 0.7649 MB / 0.9613 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0062/1.12, allocations: 2.571 MB / 0.9638 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.718e-06/1.12, allocations: 2 kB / 0.9638 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.988e-06/1.12, allocations: 1.078 kB / 0.9638 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.794e-05/1.12, allocations: 1.344 kB / 0.9638 GB, free: 4.211 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.005126/1.126, allocations: 1.925 MB / 0.9657 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/1.126, allocations: 11.75 kB / 0.9657 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002299/1.128, allocations: 357.9 kB / 0.9661 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001693/1.13, allocations: 0.9855 MB / 0.967 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.367e-05/1.13, allocations: 93.08 kB / 0.9671 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001775/1.13, allocations: 112 kB / 0.9672 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002169/1.132, allocations: 1.297 MB / 0.9685 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/1.132, allocations: 2.344 kB / 0.9685 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/1.132, allocations: 51.44 kB / 0.9685 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/1.132, allocations: 28.88 kB / 0.9686 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002219/1.134, allocations: 1.455 MB / 0.97 GB, free: 2.586 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.005896/1.14, allocations: 3.826 MB / 0.9737 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001961/1.142, allocations: 1.158 MB / 0.9748 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006708/1.143, allocations: 415.2 kB / 0.9752 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007971/1.144, allocations: 426.1 kB / 0.9756 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00105/1.145, allocations: 0.6543 MB / 0.9763 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=106): time 3.336e-06/1.145, allocations: 0 / 0.9763 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=106): time 0.004025/1.149, allocations: 1.618 MB / 0.9779 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001422/1.149, allocations: 194.8 kB / 0.978 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/1.15, allocations: 0.8857 MB / 0.9789 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001287/1.15, allocations: 49.02 kB / 0.979 GB, free: 16.15 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003884/1.151, allocations: 0.5216 MB / 0.9795 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002587/1.151, allocations: 371.8 kB / 0.9798 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002968/1.151, allocations: 211.6 kB / 0.98 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001679/1.151, allocations: 348.9 kB / 0.9804 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006894/1.152, allocations: 384.7 kB / 0.9807 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007998/1.153, allocations: 0.5078 MB / 0.9812 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001453/1.154, allocations: 0.8645 MB / 0.9821 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/1.154, allocations: 3.641 kB / 0.9821 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002559/1.157, allocations: 1.174 MB / 0.9832 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/1.157, allocations: 11.44 kB / 0.9832 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/1.157, allocations: 0.75 kB / 0.9832 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005921/1.158, allocations: 88.05 kB / 0.9833 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009725/1.159, allocations: 229.7 kB / 0.9835 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002194/1.161, allocations: 1.64 MB / 0.9851 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/1.162, allocations: 128.6 kB / 0.9853 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.443e-05/1.162, allocations: 48.75 kB / 0.9853 GB, free: 13.66 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (128): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007258/1.163, allocations: 329 kB / 0.9856 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000271/1.163, allocations: 128.7 kB / 0.9857 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003013/1.166, allocations: 1.508 MB / 0.9872 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/1.166, allocations: 11.06 kB / 0.9872 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/1.166, allocations: 3.188 kB / 0.9872 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/1.166, allocations: 5.859 kB / 0.9872 GB, free: 13.33 MB / 0.7325 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 postOpt removeSimpleEquations (simulation): time 0.004777/1.171, allocations: 2.834 MB / 0.99 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/1.171, allocations: 4.062 kB / 0.99 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009096/1.172, allocations: 201.7 kB / 0.9902 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004609/1.172, allocations: 71.78 kB / 0.9903 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.199e-05/1.172, allocations: 34 kB / 0.9903 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002174/1.174, allocations: 1.684 MB / 0.9919 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/1.174, allocations: 0 / 0.9919 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003396/1.178, allocations: 1.87 MB / 0.9938 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007019/1.178, allocations: 353.4 kB / 0.9941 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001757/1.179, allocations: 30.97 kB / 0.9941 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009038/1.18, allocations: 70.53 kB / 0.9942 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000199/1.18, allocations: 92.05 kB / 0.9943 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-05/1.18, allocations: 49.55 kB / 0.9943 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000843/1.181, allocations: 0.6236 MB / 0.9949 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/1.181, allocations: 0 / 0.9949 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001433/1.182, allocations: 451 kB / 0.9954 GB, free: 10.7 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * 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 (114): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002255/1.184, allocations: 0.7073 MB / 0.9961 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002154/1.187, allocations: 1.065 MB / 0.9971 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/1.187, allocations: 4.281 kB / 0.9971 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001131/1.188, allocations: 0.6168 MB / 0.9977 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002365/1.19, allocations: 0.5132 MB / 0.9982 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005189/1.195, allocations: 2.539 MB / 1.001 GB, free: 9.262 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007501/1.196, allocations: 1.161 MB / 1.002 GB, free: 8.555 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001351/1.197, allocations: 364.4 kB / 1.002 GB, free: 8.504 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003543/1.198, allocations: 140.2 kB / 1.002 GB, free: 8.496 MB / 0.7325 GB Notification: Performance of SimCode: time 8.41e-07/1.198, allocations: 0 / 1.002 GB, free: 8.496 MB / 0.7325 GB Notification: Performance of Templates: time 0.04237/1.24, allocations: 23.73 MB / 1.025 GB, free: 2.258 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe 2>&1)