Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.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_CpData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData") translateModel(BuildingSystems.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.0009657/0.0009657, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.259/1.259, 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.002055/0.002055, allocations: 289.6 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.898/0.898, allocations: 169.3 MB / 0.4989 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001646/0.001646, allocations: 97.98 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1554, allocations: 86.98 MB / 0.6816 GB, free: 7.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData): time 0.4538/0.6093, allocations: 167.2 MB / 0.8448 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01887/0.6282, allocations: 17.21 MB / 0.8616 GB, free: 6.035 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00117/0.6294, allocations: 27.81 kB / 0.8617 GB, free: 6.008 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001322/0.6307, allocations: 0.5391 MB / 0.8622 GB, free: 5.465 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003847/0.6346, allocations: 1.673 MB / 0.8638 GB, free: 3.793 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003241/0.6378, allocations: 1.426 MB / 0.8652 GB, free: 2.379 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002514/0.6404, allocations: 2.653 MB / 0.8678 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002117/0.6425, allocations: 2 MB / 0.8698 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003029/0.6455, allocations: 1.401 MB / 0.8711 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001067/0.6466, allocations: 1.077 MB / 0.8722 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002525/0.6469, allocations: 220 kB / 0.8724 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002509/0.6494, allocations: 1.556 MB / 0.8739 GB, free: 9.461 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000585/0.65, allocations: 0.7868 MB / 0.8747 GB, free: 8.672 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009294/0.6509, allocations: 1.177 MB / 0.8758 GB, free: 7.488 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003384/0.6543, allocations: 3.527 MB / 0.8793 GB, free: 3.953 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.6543, allocations: 11.94 kB / 0.8793 GB, free: 3.941 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6543, allocations: 0 / 0.8793 GB, free: 3.941 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.596e-05/0.6544, allocations: 0 / 0.8793 GB, free: 3.941 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.003952/0.6583, allocations: 2.718 MB / 0.8819 GB, free: 1.156 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.6584, allocations: 12.03 kB / 0.882 GB, free: 1.145 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003416/0.6618, allocations: 0.5551 MB / 0.8825 GB, free: 0.5859 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002351/0.6642, allocations: 1.631 MB / 0.8841 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.844e-05/0.6643, allocations: 127.4 kB / 0.8842 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002031/0.6645, allocations: 172 kB / 0.8844 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002861/0.6673, allocations: 1.94 MB / 0.8863 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.663e-05/0.6674, allocations: 0 / 0.8863 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001406/0.6675, allocations: 76 kB / 0.8863 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.1e-05/0.6676, allocations: 44 kB / 0.8864 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003122/0.6707, allocations: 2.089 MB / 0.8884 GB, free: 10.41 MB / 0.6544 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.00743/0.6781, allocations: 5.646 MB / 0.8939 GB, free: 4.5 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002978/0.6811, allocations: 2.092 MB / 0.896 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001118/0.6822, allocations: 0.7646 MB / 0.8967 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005302/0.6828, allocations: 433.6 kB / 0.8971 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00159/0.6844, allocations: 1.005 MB / 0.8981 GB, free: 52 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=146): time 2.825e-06/0.6844, allocations: 0 / 0.8981 GB, free: 52 kB / 0.6544 GB Notification: Performance of matching and sorting (n=146): time 0.006057/0.6905, allocations: 2.957 MB / 0.901 GB, free: 12.98 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.609e-05/0.6906, allocations: 193.2 kB / 0.9012 GB, free: 12.75 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002026/0.6926, allocations: 1.788 MB / 0.9029 GB, free: 10.95 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001244/0.6927, allocations: 53.7 kB / 0.903 GB, free: 10.89 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006366/0.6934, allocations: 0.8349 MB / 0.9038 GB, free: 10.04 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003782/0.6938, allocations: 484.9 kB / 0.9043 GB, free: 9.562 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003852/0.6942, allocations: 258.8 kB / 0.9045 GB, free: 9.301 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.6943, allocations: 361.9 kB / 0.9049 GB, free: 8.941 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000989/0.6953, allocations: 0.5882 MB / 0.9054 GB, free: 8.355 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00119/0.6965, allocations: 0.8013 MB / 0.9062 GB, free: 7.5 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002161/0.6987, allocations: 1.333 MB / 0.9075 GB, free: 6.156 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.6987, allocations: 0 / 0.9075 GB, free: 6.156 MB / 0.67 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.003559/0.7022, allocations: 1.803 MB / 0.9093 GB, free: 4.328 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.7023, allocations: 12.09 kB / 0.9093 GB, free: 4.316 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.7023, allocations: 3.938 kB / 0.9093 GB, free: 4.312 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001023/0.7033, allocations: 208.1 kB / 0.9095 GB, free: 4.094 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001453/0.7048, allocations: 335.5 kB / 0.9098 GB, free: 3.766 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01915/0.7239, allocations: 7.304 MB / 0.9169 GB, free: 11.75 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/0.7256, allocations: 173.8 kB / 0.9171 GB, free: 11.58 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001342/0.7258, allocations: 63.89 kB / 0.9172 GB, free: 11.52 MB / 0.6856 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 (152): * Single equations (assignments): 147 * 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.0008711/0.7267, allocations: 487.4 kB / 0.9176 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003634/0.727, allocations: 177.8 kB / 0.9178 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00409/0.7311, allocations: 2.117 MB / 0.9199 GB, free: 8.715 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/0.7312, allocations: 16 kB / 0.9199 GB, free: 8.699 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.7312, allocations: 4 kB / 0.9199 GB, free: 8.695 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.374e-05/0.7312, allocations: 7.969 kB / 0.9199 GB, free: 8.688 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006103/0.7373, allocations: 3.992 MB / 0.9238 GB, free: 4.617 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.7373, allocations: 0 / 0.9238 GB, free: 4.617 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001366/0.7387, allocations: 311.6 kB / 0.9241 GB, free: 4.312 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008293/0.7395, allocations: 216 kB / 0.9243 GB, free: 4.086 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.8e-05/0.7396, allocations: 43.95 kB / 0.9243 GB, free: 4.043 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005236/0.7449, allocations: 7.341 MB / 0.9315 GB, free: 11.99 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.7449, allocations: 3.938 kB / 0.9315 GB, free: 11.98 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003532/0.7484, allocations: 1.992 MB / 0.9335 GB, free: 9.957 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007987/0.7493, allocations: 466.4 kB / 0.9339 GB, free: 9.48 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001996/0.7495, allocations: 31.98 kB / 0.9339 GB, free: 9.449 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00114/0.7506, allocations: 105.7 kB / 0.934 GB, free: 9.348 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002118/0.7508, allocations: 109.2 kB / 0.9341 GB, free: 9.238 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001394/0.751, allocations: 71.94 kB / 0.9342 GB, free: 9.168 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001623/0.7526, allocations: 1.281 MB / 0.9355 GB, free: 7.891 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7526, allocations: 0 / 0.9355 GB, free: 7.891 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.00164/0.7543, allocations: 0.6585 MB / 0.9361 GB, free: 7.23 MB / 0.7012 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.001776/0.7561, allocations: 0.7619 MB / 0.9368 GB, free: 6.648 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003333/0.7594, allocations: 2.074 MB / 0.9389 GB, free: 4.508 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.982e-06/0.7594, allocations: 8.562 kB / 0.9389 GB, free: 4.5 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002008/0.7614, allocations: 1.414 MB / 0.9403 GB, free: 3.023 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00216/0.7636, allocations: 0.5253 MB / 0.9408 GB, free: 2.523 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00668/0.7703, allocations: 3.809 MB / 0.9445 GB, free: 14.69 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001385/0.7717, allocations: 1.532 MB / 0.946 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.00158/0.7733, allocations: 0.4966 MB / 0.9465 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004688/0.7738, allocations: 171.4 kB / 0.9466 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of SimCode: time 6.41e-07/0.7738, allocations: 3.938 kB / 0.9466 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of Templates: time 0.2828/1.057, allocations: 31 MB / 0.9769 GB, free: 237.2 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)