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.006699/0.0067, allocations: 102.5 kB / 15.73 MB, free: 6.031 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.001183/0.001183, allocations: 195.3 kB / 16.67 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00209/0.00209, allocations: 274.8 kB / 290.8 MB, free: 1.789 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9743/0.9743, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002796/0.002796, allocations: 95.84 kB / 0.6814 GB, free: 15.49 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.1838, allocations: 86.97 MB / 0.7664 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside): time 0.573/0.7569, allocations: 176 MB / 0.9383 GB, free: 2.73 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01619/0.7731, allocations: 10.84 MB / 0.9489 GB, free: 7.852 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001498/0.7747, allocations: 31.81 kB / 0.9489 GB, free: 7.82 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001517/0.7762, allocations: 396.9 kB / 0.9493 GB, free: 7.43 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.003622/0.7799, allocations: 1.051 MB / 0.9503 GB, free: 6.379 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.004571/0.7845, allocations: 1.714 MB / 0.952 GB, free: 4.672 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.00293/0.7874, allocations: 2.291 MB / 0.9542 GB, free: 2.375 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002604/0.7901, allocations: 1.443 MB / 0.9556 GB, free: 0.8984 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003521/0.7936, allocations: 1.261 MB / 0.9568 GB, free: 15.66 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001394/0.795, allocations: 0.7896 MB / 0.9576 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0004476/0.7955, allocations: 156 kB / 0.9578 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00291/0.7984, allocations: 1.419 MB / 0.9592 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004989/0.7989, allocations: 450.6 kB / 0.9596 GB, free: 12.85 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000874/0.7998, allocations: 0.7657 MB / 0.9603 GB, free: 12.08 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003474/0.8032, allocations: 2.555 MB / 0.9628 GB, free: 9.516 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.8033, allocations: 7.938 kB / 0.9628 GB, free: 9.508 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.954e-06/0.8033, allocations: 4 kB / 0.9628 GB, free: 9.504 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.636e-05/0.8033, allocations: 0 / 0.9628 GB, free: 9.504 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.003313/0.8066, allocations: 1.861 MB / 0.9647 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.8067, allocations: 12.03 kB / 0.9647 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002088/0.8088, allocations: 357.7 kB / 0.965 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001635/0.8104, allocations: 0.9837 MB / 0.966 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.349e-05/0.8105, allocations: 102.2 kB / 0.9661 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001795/0.8107, allocations: 112 kB / 0.9662 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002252/0.813, allocations: 1.294 MB / 0.9674 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.634e-05/0.813, allocations: 3.938 kB / 0.9674 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/0.8131, allocations: 52 kB / 0.9675 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.635e-05/0.8131, allocations: 31.98 kB / 0.9675 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00236/0.8155, allocations: 1.453 MB / 0.9689 GB, free: 3.078 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.00598/0.8215, allocations: 3.815 MB / 0.9727 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00211/0.8236, allocations: 1.204 MB / 0.9738 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007638/0.8244, allocations: 452.6 kB / 0.9743 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007238/0.8251, allocations: 425.3 kB / 0.9747 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001113/0.8263, allocations: 0.6644 MB / 0.9753 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=106): time 2.705e-06/0.8263, allocations: 3.938 kB / 0.9753 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of matching and sorting (n=106): time 0.003951/0.8302, allocations: 1.61 MB / 0.9769 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.8304, allocations: 192.9 kB / 0.9771 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/0.8315, allocations: 0.8786 MB / 0.9779 GB, free: 9.492 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.391e-05/0.8316, allocations: 49.7 kB / 0.978 GB, free: 9.438 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004518/0.832, allocations: 0.516 MB / 0.9785 GB, free: 8.914 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000323/0.8324, allocations: 354.9 kB / 0.9788 GB, free: 8.562 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003294/0.8327, allocations: 214.7 kB / 0.979 GB, free: 8.344 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.8329, allocations: 345.9 kB / 0.9794 GB, free: 8 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007274/0.8336, allocations: 386.4 kB / 0.9797 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008526/0.8345, allocations: 0.5007 MB / 0.9802 GB, free: 7.102 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001573/0.836, allocations: 0.8718 MB / 0.9811 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.8361, allocations: 7.938 kB / 0.9811 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002487/0.8386, allocations: 1.161 MB / 0.9822 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.8386, allocations: 8 kB / 0.9822 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.8386, allocations: 0 / 0.9822 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005872/0.8392, allocations: 88.86 kB / 0.9823 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/0.8403, allocations: 227.7 kB / 0.9825 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002111/0.8424, allocations: 1.646 MB / 0.9841 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009218/0.8433, allocations: 136.4 kB / 0.9843 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-05/0.8434, allocations: 43.97 kB / 0.9843 GB, free: 2.742 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.0005355/0.844, allocations: 324.2 kB / 0.9846 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002442/0.8442, allocations: 122.5 kB / 0.9847 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003002/0.8472, allocations: 1.499 MB / 0.9862 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.8473, allocations: 8 kB / 0.9862 GB, free: 0.7734 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.8473, allocations: 7.938 kB / 0.9862 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/0.8473, allocations: 7.969 kB / 0.9862 GB, free: 0.7578 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.004738/0.852, allocations: 2.839 MB / 0.989 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.852, allocations: 3.938 kB / 0.989 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008854/0.8529, allocations: 195.7 kB / 0.9892 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004677/0.8534, allocations: 80.97 kB / 0.9893 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-05/0.8535, allocations: 31.97 kB / 0.9893 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001882/0.8554, allocations: 1.686 MB / 0.9909 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.8554, allocations: 0 / 0.9909 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003596/0.859, allocations: 1.858 MB / 0.9928 GB, free: 9.77 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006505/0.8597, allocations: 347.3 kB / 0.9931 GB, free: 9.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001531/0.8598, allocations: 28 kB / 0.9931 GB, free: 9.383 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008665/0.8607, allocations: 75.92 kB / 0.9932 GB, free: 9.309 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001848/0.8609, allocations: 88.81 kB / 0.9933 GB, free: 9.223 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.631e-05/0.861, allocations: 52.03 kB / 0.9933 GB, free: 9.172 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0008979/0.8619, allocations: 0.6261 MB / 0.9939 GB, free: 8.535 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8619, allocations: 4 kB / 0.9939 GB, free: 8.531 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001402/0.8633, allocations: 451 kB / 0.9944 GB, free: 8.09 MB / 0.7481 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.001712/0.8651, allocations: 0.7114 MB / 0.9951 GB, free: 7.562 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002302/0.8674, allocations: 1.108 MB / 0.9961 GB, free: 6.441 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.738e-06/0.8674, allocations: 0 / 0.9961 GB, free: 6.441 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001272/0.8687, allocations: 0.6529 MB / 0.9968 GB, free: 5.777 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002142/0.8708, allocations: 0.5137 MB / 0.9973 GB, free: 5.293 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005363/0.8762, allocations: 2.486 MB / 0.9997 GB, free: 2.758 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007834/0.877, allocations: 1.162 MB / 1.001 GB, free: 1.566 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001268/0.8783, allocations: 369.6 kB / 1.001 GB, free: 1.203 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003845/0.8787, allocations: 139.4 kB / 1.001 GB, free: 1.066 MB / 0.7481 GB Notification: Performance of SimCode: time 1.092e-06/0.8787, allocations: 0 / 1.001 GB, free: 1.066 MB / 0.7481 GB Notification: Performance of Templates: time 0.03901/0.9177, allocations: 24.05 MB / 1.025 GB, free: 9.332 MB / 0.7794 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe 2>&1)