Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.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_Specification,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification") translateModel(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, 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.001472/0.001473, allocations: 191.4 kB / 16.14 MB, free: 6.715 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.375/1.375, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002003/0.002004, allocations: 286.5 kB / 290.2 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9325/0.9325, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001599/0.001599, allocations: 91.48 kB / 0.5945 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1631, allocations: 86.99 MB / 0.6794 GB, free: 1.199 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.4367/0.5998, allocations: 151.7 MB / 0.8276 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0122/0.6121, allocations: 10.55 MB / 0.8379 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001562/0.6137, allocations: 20.56 kB / 0.8379 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008306/0.6146, allocations: 218.6 kB / 0.8381 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002745/0.6173, allocations: 0.7889 MB / 0.8389 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002447/0.6198, allocations: 0.9362 MB / 0.8398 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001888/0.6217, allocations: 1.639 MB / 0.8414 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00147/0.6231, allocations: 1.081 MB / 0.8424 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002028/0.6252, allocations: 0.6259 MB / 0.8431 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007425/0.6259, allocations: 0.5766 MB / 0.8436 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001538/0.6261, allocations: 65.34 kB / 0.8437 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002334/0.6284, allocations: 0.9597 MB / 0.8446 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00034/0.6288, allocations: 316 kB / 0.8449 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006305/0.6294, allocations: 0.5826 MB / 0.8455 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002642/0.6321, allocations: 2.094 MB / 0.8475 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.6321, allocations: 0 / 0.8475 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of FrontEnd: time 7.71e-07/0.6321, allocations: 0 / 0.8475 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.528e-05/0.6321, allocations: 2.969 kB / 0.8475 GB, free: 10.91 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.00292/0.6351, allocations: 1.698 MB / 0.8492 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.6351, allocations: 10.69 kB / 0.8492 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001639/0.6368, allocations: 271.7 kB / 0.8495 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001278/0.638, allocations: 0.8726 MB / 0.8503 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.206e-05/0.6381, allocations: 77.03 kB / 0.8504 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.6383, allocations: 99.73 kB / 0.8505 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001891/0.6402, allocations: 1.1 MB / 0.8516 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.6402, allocations: 0 / 0.8516 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/0.6403, allocations: 41.94 kB / 0.8516 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/0.6403, allocations: 25.12 kB / 0.8516 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002148/0.6425, allocations: 1.325 MB / 0.8529 GB, free: 7.379 MB / 0.5762 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.005168/0.6477, allocations: 3.221 MB / 0.8561 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001879/0.6496, allocations: 1.099 MB / 0.8571 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007193/0.6503, allocations: 429.1 kB / 0.8575 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002279/0.6505, allocations: 136 kB / 0.8577 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001079/0.6516, allocations: 0.6223 MB / 0.8583 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=95): time 2.515e-06/0.6516, allocations: 0 / 0.8583 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95): time 0.004111/0.6558, allocations: 1.63 MB / 0.8599 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.6559, allocations: 198.8 kB / 0.8601 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001039/0.6569, allocations: 0.8027 MB / 0.8608 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001023/0.657, allocations: 49.17 kB / 0.8609 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004023/0.6574, allocations: 451.8 kB / 0.8613 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002558/0.6577, allocations: 315.2 kB / 0.8616 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002663/0.658, allocations: 184.4 kB / 0.8618 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.6581, allocations: 348.1 kB / 0.8621 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006753/0.6588, allocations: 350.6 kB / 0.8625 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007803/0.6596, allocations: 484.6 kB / 0.8629 GB, free: 452 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001414/0.661, allocations: 0.7898 MB / 0.8637 GB, free: 28 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.661, allocations: 0 / 0.8637 GB, free: 28 kB / 0.5762 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002587/0.6636, allocations: 1.101 MB / 0.8648 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.6636, allocations: 4.875 kB / 0.8648 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.6637, allocations: 0 / 0.8648 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007861/0.6645, allocations: 114.9 kB / 0.8649 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009452/0.6654, allocations: 200.7 kB / 0.8651 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002967/0.6684, allocations: 2.864 MB / 0.8679 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008981/0.6693, allocations: 111.4 kB / 0.868 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.634e-05/0.6694, allocations: 41.28 kB / 0.868 GB, free: 12.43 MB / 0.5919 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 (108): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004989/0.6699, allocations: 312.5 kB / 0.8683 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002223/0.6701, allocations: 100.6 kB / 0.8684 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002895/0.673, allocations: 1.323 MB / 0.8697 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/0.6731, allocations: 10.19 kB / 0.8697 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.6731, allocations: 0 / 0.8697 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.6731, allocations: 3.984 kB / 0.8697 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004109/0.6772, allocations: 2.43 MB / 0.8721 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.6772, allocations: 0 / 0.8721 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008389/0.6781, allocations: 195.2 kB / 0.8723 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006334/0.6787, allocations: 115.5 kB / 0.8724 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.178e-05/0.6788, allocations: 30.02 kB / 0.8724 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002813/0.6816, allocations: 2.878 MB / 0.8752 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.6816, allocations: 0 / 0.8752 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002568/0.6842, allocations: 1.233 MB / 0.8764 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005226/0.6848, allocations: 313 kB / 0.8767 GB, free: 5.875 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000144/0.6849, allocations: 24.25 kB / 0.8768 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008216/0.6857, allocations: 81.31 kB / 0.8768 GB, free: 5.82 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001773/0.6859, allocations: 87 kB / 0.8769 GB, free: 5.77 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.527e-05/0.686, allocations: 47.59 kB / 0.877 GB, free: 5.75 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006936/0.6867, allocations: 0.5677 MB / 0.8775 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2e-07/0.6867, allocations: 0 / 0.8775 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001151/0.6879, allocations: 440.6 kB / 0.8779 GB, free: 5.316 MB / 0.5919 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 (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.001583/0.6895, allocations: 0.7235 MB / 0.8786 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002176/0.6917, allocations: 1.146 MB / 0.8798 GB, free: 4.191 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.6917, allocations: 0 / 0.8798 GB, free: 4.191 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001235/0.6929, allocations: 0.7372 MB / 0.8805 GB, free: 3.43 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/0.6944, allocations: 317.5 kB / 0.8808 GB, free: 3.129 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004671/0.6991, allocations: 2.616 MB / 0.8833 GB, free: 0.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006034/0.6997, allocations: 1.107 MB / 0.8844 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001057/0.7008, allocations: 315.5 kB / 0.8847 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003057/0.7011, allocations: 115.4 kB / 0.8848 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of SimCode: time 6.21e-07/0.7011, allocations: 0 / 0.8848 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of Templates: time 0.0306/0.7317, allocations: 18.81 MB / 0.9032 GB, free: 12.35 MB / 0.6231 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1)