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.001771/0.001771, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002013/0.002013, allocations: 193.6 kB / 16.14 MB, free: 6.684 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.462/1.462, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002545/0.002545, allocations: 279.1 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 1.133/1.133, allocations: 178.6 MB / 0.5068 GB, free: 4.758 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002722/0.002722, allocations: 96.34 kB / 0.6057 GB, free: 25.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1546, allocations: 89.15 MB / 0.6928 GB, free: 4.875 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.486/0.6406, allocations: 152.2 MB / 0.8414 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01462/0.6553, allocations: 10.61 MB / 0.8518 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008288/0.6561, allocations: 17.28 kB / 0.8518 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008348/0.657, allocations: 230.4 kB / 0.852 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002462/0.6595, allocations: 0.8244 MB / 0.8528 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00238/0.6619, allocations: 0.9554 MB / 0.8537 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001741/0.6636, allocations: 1.703 MB / 0.8554 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001341/0.665, allocations: 1.054 MB / 0.8564 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002054/0.667, allocations: 0.6268 MB / 0.857 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007357/0.6678, allocations: 0.5945 MB / 0.8576 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001382/0.6679, allocations: 63.06 kB / 0.8577 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001967/0.6699, allocations: 0.9628 MB / 0.8586 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003253/0.6702, allocations: 308.3 kB / 0.8589 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000638/0.6709, allocations: 0.6038 MB / 0.8595 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002517/0.6734, allocations: 2.118 MB / 0.8616 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.6734, allocations: 0 / 0.8616 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6734, allocations: 6.625 kB / 0.8616 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.695e-05/0.6735, allocations: 0 / 0.8616 GB, free: 11.7 MB / 0.5919 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.003376/0.6769, allocations: 1.707 MB / 0.8633 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.6769, allocations: 10.38 kB / 0.8633 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001755/0.6787, allocations: 269.3 kB / 0.8635 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001466/0.6802, allocations: 0.8804 MB / 0.8644 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.504e-05/0.6802, allocations: 78 kB / 0.8645 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.6804, allocations: 97.56 kB / 0.8645 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002141/0.6825, allocations: 1.109 MB / 0.8656 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.456e-05/0.6826, allocations: 3.938 kB / 0.8656 GB, free: 8.797 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/0.6827, allocations: 37.94 kB / 0.8657 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.081e-05/0.6827, allocations: 25.12 kB / 0.8657 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002345/0.6851, allocations: 1.321 MB / 0.867 GB, free: 8.148 MB / 0.5919 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.006283/0.6914, allocations: 3.421 MB / 0.8703 GB, free: 5.41 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00205/0.6934, allocations: 1.101 MB / 0.8714 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007774/0.6942, allocations: 425.2 kB / 0.8718 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002534/0.6945, allocations: 134.5 kB / 0.8719 GB, free: 4.5 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001212/0.6957, allocations: 0.6211 MB / 0.8725 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=95): time 2.965e-06/0.6957, allocations: 4 kB / 0.8725 GB, free: 3.969 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95): time 0.004572/0.7003, allocations: 1.631 MB / 0.8741 GB, free: 2.293 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001343/0.7004, allocations: 192.9 kB / 0.8743 GB, free: 2.059 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/0.7016, allocations: 0.8095 MB / 0.8751 GB, free: 1.238 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.004e-05/0.7017, allocations: 45.7 kB / 0.8752 GB, free: 1.188 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004286/0.7021, allocations: 464.4 kB / 0.8756 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002919/0.7025, allocations: 311.5 kB / 0.8759 GB, free: 428 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003281/0.7028, allocations: 190.5 kB / 0.8761 GB, free: 232 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001964/0.703, allocations: 337.9 kB / 0.8764 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007961/0.7038, allocations: 353.8 kB / 0.8767 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009402/0.7047, allocations: 481.6 kB / 0.8772 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001669/0.7064, allocations: 0.7921 MB / 0.878 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.7064, allocations: 0 / 0.878 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002802/0.7092, allocations: 1.08 MB / 0.879 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.7093, allocations: 4 kB / 0.879 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.7093, allocations: 4.062 kB / 0.879 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007858/0.7101, allocations: 113.6 kB / 0.8791 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.7111, allocations: 207.7 kB / 0.8793 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003437/0.7146, allocations: 2.869 MB / 0.8821 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/0.7156, allocations: 119.8 kB / 0.8823 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.419e-05/0.7157, allocations: 43.97 kB / 0.8823 GB, free: 9.527 MB / 0.6075 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.0005581/0.7162, allocations: 311.3 kB / 0.8826 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002189/0.7165, allocations: 98.78 kB / 0.8827 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003253/0.7197, allocations: 1.314 MB / 0.884 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.7198, allocations: 16 kB / 0.884 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.7198, allocations: 0 / 0.884 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.7198, allocations: 3.984 kB / 0.884 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004537/0.7243, allocations: 2.419 MB / 0.8864 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.7243, allocations: 0 / 0.8864 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008913/0.7252, allocations: 195.6 kB / 0.8865 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006903/0.7259, allocations: 121.6 kB / 0.8867 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.189e-05/0.726, allocations: 27.97 kB / 0.8867 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003299/0.7293, allocations: 2.887 MB / 0.8895 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.7293, allocations: 0 / 0.8895 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002861/0.7322, allocations: 1.231 MB / 0.8907 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005004/0.7327, allocations: 315.5 kB / 0.891 GB, free: 200 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001561/0.7329, allocations: 20 kB / 0.891 GB, free: 180 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009113/0.7338, allocations: 89.45 kB / 0.8911 GB, free: 92 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001939/0.734, allocations: 84.81 kB / 0.8912 GB, free: 8 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001171/0.7341, allocations: 43.97 kB / 0.8912 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008446/0.735, allocations: 0.5693 MB / 0.8918 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.8e-07/0.735, allocations: 0 / 0.8918 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001252/0.7362, allocations: 451.2 kB / 0.8922 GB, free: 14.96 MB / 0.6231 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.002288/0.7385, allocations: 0.7178 MB / 0.8929 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002441/0.741, allocations: 1.154 MB / 0.894 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.741, allocations: 0 / 0.894 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001411/0.7424, allocations: 0.741 MB / 0.8948 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001515/0.744, allocations: 327.8 kB / 0.8951 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004192/0.7482, allocations: 2.505 MB / 0.8975 GB, free: 9.641 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008263/0.749, allocations: 1.099 MB / 0.8986 GB, free: 8.508 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.00113/0.7501, allocations: 323.6 kB / 0.8989 GB, free: 8.188 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003523/0.7505, allocations: 115.4 kB / 0.899 GB, free: 8.074 MB / 0.6231 GB Notification: Performance of SimCode: time 2.61e-07/0.7505, allocations: 0 / 0.899 GB, free: 8.074 MB / 0.6231 GB Notification: Performance of Templates: time 0.03571/0.7862, allocations: 19.21 MB / 0.9178 GB, free: 5.094 MB / 0.6387 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)