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.001021/0.001021, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 194.4 kB / 16.53 MB, free: 6.391 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.329/1.329, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002161/0.002161, allocations: 294.5 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9238/0.9238, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001835, allocations: 95.36 kB / 0.5952 GB, free: 28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1858, allocations: 86.97 MB / 0.6802 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.5209/0.7068, allocations: 154 MB / 0.8306 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01413/0.7209, allocations: 10.5 MB / 0.8408 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001433/0.7224, allocations: 17.09 kB / 0.8408 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009245/0.7234, allocations: 269.7 kB / 0.8411 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003619/0.727, allocations: 0.9249 MB / 0.842 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003473/0.7305, allocations: 1.074 MB / 0.843 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002465/0.733, allocations: 1.629 MB / 0.8446 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001843/0.7348, allocations: 1.177 MB / 0.8458 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001881/0.7367, allocations: 0.7051 MB / 0.8465 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007209/0.7375, allocations: 0.606 MB / 0.8471 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001755/0.7377, allocations: 136.4 kB / 0.8472 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002202/0.7399, allocations: 0.9956 MB / 0.8482 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003532/0.7402, allocations: 386.4 kB / 0.8485 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006258/0.7409, allocations: 0.6586 MB / 0.8492 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003431/0.7443, allocations: 2.14 MB / 0.8513 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.7443, allocations: 0 / 0.8513 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7443, allocations: 0 / 0.8513 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.093e-05/0.7444, allocations: 0 / 0.8513 GB, free: 10.13 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.00308/0.7474, allocations: 1.7 MB / 0.8529 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.7475, allocations: 13.53 kB / 0.8529 GB, free: 8.816 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001614/0.7491, allocations: 267.2 kB / 0.8532 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001296/0.7504, allocations: 0.8743 MB / 0.8541 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.65e-05/0.7505, allocations: 74.31 kB / 0.8541 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/0.7506, allocations: 99.08 kB / 0.8542 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002016/0.7527, allocations: 1.108 MB / 0.8553 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.7527, allocations: 0 / 0.8553 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/0.7528, allocations: 46.05 kB / 0.8553 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.04e-05/0.7528, allocations: 22.97 kB / 0.8554 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00218/0.755, allocations: 1.317 MB / 0.8567 GB, free: 6.602 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.005329/0.7604, allocations: 3.231 MB / 0.8598 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001943/0.7623, allocations: 1.099 MB / 0.8609 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007392/0.7631, allocations: 419.2 kB / 0.8613 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002596/0.7634, allocations: 137.1 kB / 0.8614 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001075/0.7645, allocations: 0.6353 MB / 0.862 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=95): time 2.825e-06/0.7645, allocations: 0 / 0.862 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95): time 0.004197/0.7687, allocations: 1.628 MB / 0.8636 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/0.7688, allocations: 191.5 kB / 0.8638 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.7699, allocations: 0.8101 MB / 0.8646 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001164/0.77, allocations: 43.39 kB / 0.8646 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003821/0.7704, allocations: 469.1 kB / 0.8651 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002508/0.7707, allocations: 307.1 kB / 0.8654 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002785/0.771, allocations: 180.7 kB / 0.8655 GB, free: 456 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.7711, allocations: 344.1 kB / 0.8659 GB, free: 116 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007107/0.7718, allocations: 354.4 kB / 0.8662 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008262/0.7727, allocations: 480.6 kB / 0.8667 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001485/0.7742, allocations: 0.7889 MB / 0.8674 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.7742, allocations: 6.719 kB / 0.8674 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002569/0.7767, allocations: 1.083 MB / 0.8685 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.7768, allocations: 7.375 kB / 0.8685 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.7768, allocations: 2.781 kB / 0.8685 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007412/0.7775, allocations: 111.2 kB / 0.8686 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008711/0.7784, allocations: 208.9 kB / 0.8688 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003241/0.7817, allocations: 3.067 MB / 0.8718 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/0.7827, allocations: 107.1 kB / 0.8719 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/0.7828, allocations: 47.27 kB / 0.872 GB, free: 11.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.000664/0.7835, allocations: 318.4 kB / 0.8723 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003599/0.7839, allocations: 104.4 kB / 0.8724 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003002/0.7869, allocations: 1.322 MB / 0.8737 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.365e-06/0.7869, allocations: 9.781 kB / 0.8737 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.7869, allocations: 2.781 kB / 0.8737 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.787, allocations: 3.984 kB / 0.8737 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004381/0.7913, allocations: 2.429 MB / 0.876 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.7914, allocations: 0 / 0.876 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007902/0.7922, allocations: 189.3 kB / 0.8762 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005763/0.7927, allocations: 108.5 kB / 0.8763 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-05/0.7928, allocations: 29.39 kB / 0.8764 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002925/0.7958, allocations: 3.092 MB / 0.8794 GB, free: 5.609 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.7958, allocations: 3 kB / 0.8794 GB, free: 5.609 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002659/0.7985, allocations: 1.237 MB / 0.8806 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005736/0.799, allocations: 312.9 kB / 0.8809 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002453/0.7993, allocations: 17.69 kB / 0.8809 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009376/0.8002, allocations: 82.91 kB / 0.881 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001814/0.8004, allocations: 81.42 kB / 0.8811 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/0.8005, allocations: 45.03 kB / 0.8811 GB, free: 4.539 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008827/0.8014, allocations: 0.5717 MB / 0.8817 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8014, allocations: 0 / 0.8817 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001353/0.8028, allocations: 443.1 kB / 0.8821 GB, free: 3.68 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.001821/0.8046, allocations: 0.7103 MB / 0.8828 GB, free: 3.172 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003276/0.8079, allocations: 1.392 MB / 0.8841 GB, free: 1.758 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.8079, allocations: 192 / 0.8841 GB, free: 1.758 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001329/0.8093, allocations: 0.7449 MB / 0.8849 GB, free: 0.9883 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001682/0.811, allocations: 361.4 kB / 0.8852 GB, free: 0.668 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004924/0.8159, allocations: 2.13 MB / 0.8873 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008498/0.8168, allocations: 1.11 MB / 0.8884 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001209/0.818, allocations: 307.6 kB / 0.8887 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003522/0.8184, allocations: 123.4 kB / 0.8888 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of SimCode: time 3.106e-06/0.8184, allocations: 0 / 0.8888 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of Templates: time 0.03451/0.8529, allocations: 19.61 MB / 0.9079 GB, free: 9.578 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)