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.001764/0.001764, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002024/0.002024, allocations: 195.5 kB / 16.14 MB, free: 6.723 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.465/1.465, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002621/0.002621, allocations: 282.7 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.091/1.091, allocations: 178.6 MB / 0.5068 GB, free: 4.785 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002802/0.002802, allocations: 98.31 kB / 0.6057 GB, free: 25.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1809, allocations: 89.14 MB / 0.6928 GB, free: 4.852 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData): time 0.5431/0.7241, allocations: 166 MB / 0.8549 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02501/0.7492, allocations: 17.41 MB / 0.8719 GB, free: 1.383 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001756/0.7509, allocations: 27.03 kB / 0.872 GB, free: 1.371 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001716/0.7527, allocations: 485.8 kB / 0.8724 GB, free: 0.9844 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004987/0.7577, allocations: 1.589 MB / 0.874 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003731/0.7615, allocations: 1.273 MB / 0.8752 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004254/0.7657, allocations: 3.091 MB / 0.8782 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003107/0.7689, allocations: 1.801 MB / 0.88 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006411/0.7753, allocations: 1.278 MB / 0.8812 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002038/0.7773, allocations: 1.085 MB / 0.8823 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004091/0.7778, allocations: 120 kB / 0.8824 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003768/0.7815, allocations: 1.571 MB / 0.884 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0008266/0.7824, allocations: 0.6969 MB / 0.8846 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001716/0.7841, allocations: 1.119 MB / 0.8857 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005707/0.7898, allocations: 3.501 MB / 0.8891 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.7899, allocations: 0 / 0.8891 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7899, allocations: 0 / 0.8891 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.966e-05/0.79, allocations: 4 kB / 0.8891 GB, free: 3.09 MB / 0.6075 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.005656/0.7956, allocations: 2.75 MB / 0.8918 GB, free: 280 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.7957, allocations: 12.03 kB / 0.8918 GB, free: 268 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004028/0.7997, allocations: 0.5589 MB / 0.8924 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002736/0.8025, allocations: 1.588 MB / 0.8939 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001199/0.8026, allocations: 123.4 kB / 0.8941 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002696/0.8029, allocations: 176 kB / 0.8942 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003853/0.8068, allocations: 1.948 MB / 0.8961 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.898e-05/0.8068, allocations: 0 / 0.8961 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001784/0.807, allocations: 72 kB / 0.8962 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.19e-05/0.807, allocations: 44 kB / 0.8962 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003857/0.8109, allocations: 2.085 MB / 0.8983 GB, free: 9.562 MB / 0.6231 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.01119/0.8221, allocations: 6.074 MB / 0.9042 GB, free: 3.141 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003888/0.826, allocations: 2.091 MB / 0.9062 GB, free: 0.9727 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00144/0.8275, allocations: 0.7647 MB / 0.907 GB, free: 212 kB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007002/0.8282, allocations: 429.6 kB / 0.9074 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001998/0.8302, allocations: 1.005 MB / 0.9084 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=146): time 2.976e-06/0.8302, allocations: 0 / 0.9084 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of matching and sorting (n=146): time 0.007751/0.838, allocations: 2.954 MB / 0.9113 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001452/0.8381, allocations: 193.2 kB / 0.9115 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002754/0.8409, allocations: 1.787 MB / 0.9132 GB, free: 9.59 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001866/0.8411, allocations: 65.69 kB / 0.9133 GB, free: 9.52 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008743/0.842, allocations: 0.8233 MB / 0.9141 GB, free: 8.684 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005137/0.8425, allocations: 485 kB / 0.9145 GB, free: 8.203 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000461/0.843, allocations: 262.6 kB / 0.9148 GB, free: 7.938 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001941/0.8432, allocations: 361.9 kB / 0.9151 GB, free: 7.578 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001207/0.8444, allocations: 0.596 MB / 0.9157 GB, free: 6.984 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00151/0.8459, allocations: 0.8013 MB / 0.9165 GB, free: 6.129 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002588/0.8485, allocations: 1.329 MB / 0.9178 GB, free: 4.789 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.926e-06/0.8485, allocations: 7.984 kB / 0.9178 GB, free: 4.781 MB / 0.6387 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.004375/0.8529, allocations: 1.799 MB / 0.9196 GB, free: 2.957 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.853, allocations: 4 kB / 0.9196 GB, free: 2.953 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.853, allocations: 7.875 kB / 0.9196 GB, free: 2.945 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001151/0.8541, allocations: 212.2 kB / 0.9198 GB, free: 2.723 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00165/0.8558, allocations: 335.5 kB / 0.9201 GB, free: 2.395 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006854/0.8627, allocations: 6.813 MB / 0.9267 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001772/0.8645, allocations: 171.1 kB / 0.9269 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/0.8646, allocations: 59.95 kB / 0.927 GB, free: 10.68 MB / 0.6544 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.001055/0.8657, allocations: 495 kB / 0.9274 GB, free: 10.19 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003843/0.866, allocations: 181.8 kB / 0.9276 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004856/0.8709, allocations: 2.121 MB / 0.9297 GB, free: 7.859 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.527e-05/0.8709, allocations: 16 kB / 0.9297 GB, free: 7.844 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.871, allocations: 4 kB / 0.9297 GB, free: 7.84 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.553e-05/0.871, allocations: 7.969 kB / 0.9297 GB, free: 7.832 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007316/0.8783, allocations: 3.99 MB / 0.9336 GB, free: 3.762 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.8783, allocations: 3.938 kB / 0.9336 GB, free: 3.758 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00153/0.8799, allocations: 315.6 kB / 0.9339 GB, free: 3.449 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001018/0.8809, allocations: 220 kB / 0.9341 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001046/0.881, allocations: 43.97 kB / 0.9342 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006747/0.8878, allocations: 6.823 MB / 0.9408 GB, free: 11.68 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.8878, allocations: 0 / 0.9408 GB, free: 11.68 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004586/0.8924, allocations: 1.986 MB / 0.9428 GB, free: 9.66 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001033/0.8934, allocations: 474.3 kB / 0.9432 GB, free: 9.176 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002454/0.8937, allocations: 28 kB / 0.9432 GB, free: 9.148 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001364/0.895, allocations: 139.4 kB / 0.9434 GB, free: 9.016 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003041/0.8954, allocations: 121.1 kB / 0.9435 GB, free: 8.895 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001716/0.8955, allocations: 71.95 kB / 0.9436 GB, free: 8.824 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001902/0.8975, allocations: 1.277 MB / 0.9448 GB, free: 7.551 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8975, allocations: 4 kB / 0.9448 GB, free: 7.547 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002094/0.8996, allocations: 0.6782 MB / 0.9455 GB, free: 6.867 MB / 0.67 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.002371/0.902, allocations: 0.7513 MB / 0.9462 GB, free: 6.301 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004094/0.9061, allocations: 2.074 MB / 0.9482 GB, free: 4.16 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.9061, allocations: 8.5 kB / 0.9482 GB, free: 4.152 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002389/0.9085, allocations: 1.418 MB / 0.9496 GB, free: 2.672 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002678/0.9112, allocations: 0.5085 MB / 0.9501 GB, free: 2.168 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007955/0.9191, allocations: 4.593 MB / 0.9546 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001454/0.9206, allocations: 1.533 MB / 0.9561 GB, free: 11.98 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002221/0.9229, allocations: 0.4892 MB / 0.9566 GB, free: 11.49 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005368/0.9234, allocations: 171.4 kB / 0.9567 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of SimCode: time 1.232e-06/0.9234, allocations: 0 / 0.9567 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of Templates: time 0.06539/0.9888, allocations: 30.67 MB / 0.9867 GB, free: 13 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)