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.001244/0.001244, allocations: 103.9 kB / 16.41 MB, free: 6.5 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.001272/0.001272, allocations: 192.2 kB / 17.34 MB, free: 5.73 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002238/0.002238, allocations: 289.5 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.9197/0.9197, allocations: 169.2 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 88.28 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4293/0.4314, allocations: 86.99 MB / 0.767 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside): time 0.1832/0.6146, allocations: 176 MB / 0.9389 GB, free: 3.234 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01428/0.629, allocations: 10.85 MB / 0.9495 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001278/0.6303, allocations: 31.81 kB / 0.9496 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001138/0.6314, allocations: 400.8 kB / 0.9499 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002932/0.6344, allocations: 1.052 MB / 0.951 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004158/0.6386, allocations: 1.701 MB / 0.9526 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002689/0.6413, allocations: 2.299 MB / 0.9549 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001845/0.6432, allocations: 1.439 MB / 0.9563 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00314/0.6463, allocations: 1.274 MB / 0.9575 GB, free: 136 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4154/1.062, allocations: 0.7855 MB / 0.9583 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0006323/1.062, allocations: 155.3 kB / 0.9584 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003879/1.066, allocations: 1.416 MB / 0.9598 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005875/1.067, allocations: 453 kB / 0.9603 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001136/1.068, allocations: 0.767 MB / 0.961 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004994/1.073, allocations: 2.559 MB / 0.9635 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/1.073, allocations: 1.094 kB / 0.9635 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.914e-06/1.073, allocations: 0 / 0.9635 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.494e-05/1.073, allocations: 0.9375 kB / 0.9635 GB, free: 5.188 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.003725/1.077, allocations: 1.875 MB / 0.9653 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/1.077, allocations: 11.7 kB / 0.9653 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002173/1.079, allocations: 348.5 kB / 0.9657 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001672/1.081, allocations: 0.9854 MB / 0.9666 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.306e-05/1.081, allocations: 89.61 kB / 0.9667 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/1.081, allocations: 111.4 kB / 0.9668 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002159/1.083, allocations: 1.302 MB / 0.9681 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.629e-05/1.083, allocations: 0 / 0.9681 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/1.083, allocations: 56.34 kB / 0.9682 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.801e-05/1.083, allocations: 28.5 kB / 0.9682 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002173/1.086, allocations: 1.444 MB / 0.9696 GB, free: 3.625 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.005385/1.091, allocations: 3.817 MB / 0.9733 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001896/1.093, allocations: 1.211 MB / 0.9745 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006484/1.094, allocations: 453.6 kB / 0.9749 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007972/1.094, allocations: 428.3 kB / 0.9753 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009627/1.095, allocations: 0.6606 MB / 0.976 GB, free: 17.82 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=106): time 3.046e-06/1.095, allocations: 0.7812 kB / 0.976 GB, free: 17.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=106): time 0.003725/1.099, allocations: 1.604 MB / 0.9776 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/1.099, allocations: 195.3 kB / 0.9777 GB, free: 17.4 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/1.1, allocations: 0.8836 MB / 0.9786 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000109/1.1, allocations: 50.48 kB / 0.9787 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003518/1.101, allocations: 0.5134 MB / 0.9792 GB, free: 17 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002242/1.101, allocations: 349.2 kB / 0.9795 GB, free: 16.78 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000279/1.101, allocations: 212.9 kB / 0.9797 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001394/1.101, allocations: 345.8 kB / 0.98 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006572/1.102, allocations: 383.5 kB / 0.9804 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007312/1.103, allocations: 0.5045 MB / 0.9809 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001339/1.104, allocations: 0.8691 MB / 0.9817 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/1.104, allocations: 0.9062 kB / 0.9817 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002341/1.107, allocations: 1.17 MB / 0.9829 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/1.107, allocations: 12.66 kB / 0.9829 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/1.107, allocations: 0 / 0.9829 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005866/1.107, allocations: 89.53 kB / 0.983 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009382/1.108, allocations: 230.4 kB / 0.9832 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00213/1.11, allocations: 1.649 MB / 0.9848 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001046/1.111, allocations: 123.1 kB / 0.9849 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.868e-05/1.111, allocations: 49.72 kB / 0.985 GB, free: 14.75 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.0006111/1.112, allocations: 323.8 kB / 0.9853 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002264/1.112, allocations: 120 kB / 0.9854 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002662/1.115, allocations: 1.502 MB / 0.9869 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/1.115, allocations: 10.59 kB / 0.9869 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/1.115, allocations: 4.75 kB / 0.9869 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/1.115, allocations: 5.953 kB / 0.9869 GB, free: 14.43 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.00429/1.119, allocations: 2.838 MB / 0.9896 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/1.119, allocations: 2 kB / 0.9896 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008288/1.12, allocations: 205.3 kB / 0.9898 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004119/1.121, allocations: 75.06 kB / 0.9899 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-05/1.121, allocations: 37.16 kB / 0.9899 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001799/1.122, allocations: 1.671 MB / 0.9916 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/1.122, allocations: 3.938 kB / 0.9916 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002996/1.125, allocations: 1.861 MB / 0.9934 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005498/1.126, allocations: 345.9 kB / 0.9937 GB, free: 12 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001623/1.126, allocations: 32.81 kB / 0.9938 GB, free: 12 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000825/1.127, allocations: 76.67 kB / 0.9938 GB, free: 12 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001508/1.127, allocations: 91.33 kB / 0.9939 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.237e-05/1.127, allocations: 48.55 kB / 0.994 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007531/1.128, allocations: 0.6235 MB / 0.9946 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9.92e-07/1.128, allocations: 0 / 0.9946 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001259/1.129, allocations: 445.1 kB / 0.995 GB, free: 11.82 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.001676/1.131, allocations: 0.717 MB / 0.9957 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002106/1.133, allocations: 1.101 MB / 0.9968 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/1.133, allocations: 0 / 0.9968 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001056/1.134, allocations: 0.658 MB / 0.9974 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00214/1.136, allocations: 0.5044 MB / 0.9979 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004978/1.141, allocations: 2.525 MB / 1 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007073/1.142, allocations: 1.157 MB / 1.002 GB, free: 9.691 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004589/1.143, allocations: 160 kB / 1.002 GB, free: 9.684 MB / 0.7325 GB Notification: Performance of SimCode: time 1.442e-06/1.143, allocations: 0 / 1.002 GB, free: 9.684 MB / 0.7325 GB Notification: Performance of Templates: time 0.03925/1.182, allocations: 26.87 MB / 1.028 GB, free: 0.6914 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe 2>&1)