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.000841/0.000841, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006463/0.006463, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.377/1.377, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001702/0.001702, allocations: 271.1 kB / 291.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9387/0.9387, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004502/0.0004502, allocations: 13.97 kB / 0.5987 GB, free: 27.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.1828, allocations: 88.54 MB / 0.6851 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.5284/0.7113, allocations: 149.7 MB / 0.8313 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01411/0.7254, allocations: 10.4 MB / 0.8415 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001026/0.7265, allocations: 13.72 kB / 0.8415 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007173/0.7272, allocations: 219.1 kB / 0.8417 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002824/0.7301, allocations: 0.799 MB / 0.8425 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002967/0.733, allocations: 0.9401 MB / 0.8434 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001774/0.7348, allocations: 1.627 MB / 0.845 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001372/0.7362, allocations: 1.022 MB / 0.846 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001837/0.738, allocations: 0.5401 MB / 0.8465 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006117/0.7387, allocations: 484.2 kB / 0.847 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.812e-05/0.7388, allocations: 36.69 kB / 0.847 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0018/0.7406, allocations: 0.9308 MB / 0.8479 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002599/0.7408, allocations: 263 kB / 0.8482 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005026/0.7414, allocations: 0.5422 MB / 0.8487 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002137/0.7435, allocations: 2.042 MB / 0.8507 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.7435, allocations: 0 / 0.8507 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7435, allocations: 0 / 0.8507 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.52e-05/0.7435, allocations: 0 / 0.8507 GB, free: 15.45 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.002583/0.7461, allocations: 1.444 MB / 0.8521 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.7462, allocations: 10.94 kB / 0.8521 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001627/0.7478, allocations: 278.9 kB / 0.8524 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/0.749, allocations: 0.8805 MB / 0.8532 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.975e-05/0.7491, allocations: 76.41 kB / 0.8533 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/0.7493, allocations: 95.55 kB / 0.8534 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001916/0.7512, allocations: 1.119 MB / 0.8545 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.7512, allocations: 0 / 0.8545 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/0.7513, allocations: 43.25 kB / 0.8545 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.982e-05/0.7514, allocations: 24.69 kB / 0.8546 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002178/0.7536, allocations: 1.336 MB / 0.8559 GB, free: 12.07 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.005254/0.7588, allocations: 3.261 MB / 0.859 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001941/0.7608, allocations: 1.114 MB / 0.8601 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007565/0.7615, allocations: 429.5 kB / 0.8605 GB, free: 8.785 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002489/0.7618, allocations: 142.8 kB / 0.8607 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001116/0.7629, allocations: 0.6322 MB / 0.8613 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=95): time 2.485e-06/0.7629, allocations: 3.938 kB / 0.8613 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95): time 0.004252/0.7672, allocations: 1.662 MB / 0.8629 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.7673, allocations: 195.8 kB / 0.8631 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.7685, allocations: 0.8019 MB / 0.8639 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.486e-05/0.7686, allocations: 47.52 kB / 0.8639 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004253/0.769, allocations: 457.6 kB / 0.8644 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002585/0.7693, allocations: 314.3 kB / 0.8647 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.7694, allocations: 81.27 kB / 0.8647 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.7695, allocations: 344.8 kB / 0.8651 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000733/0.7703, allocations: 359.4 kB / 0.8654 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008837/0.7712, allocations: 490 kB / 0.8659 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001445/0.7726, allocations: 0.8004 MB / 0.8667 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.7726, allocations: 2.625 kB / 0.8667 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002424/0.7751, allocations: 1.108 MB / 0.8678 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.7751, allocations: 5.156 kB / 0.8678 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.7751, allocations: 2.875 kB / 0.8678 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007459/0.7759, allocations: 125.7 kB / 0.8679 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009028/0.7768, allocations: 208.3 kB / 0.8681 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003037/0.7798, allocations: 2.857 MB / 0.8709 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009856/0.7808, allocations: 131.3 kB / 0.871 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.159e-05/0.7809, allocations: 43.97 kB / 0.871 GB, free: 0.6797 MB / 0.5762 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.0005529/0.7815, allocations: 307.6 kB / 0.8713 GB, free: 384 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001675/0.7817, allocations: 102.8 kB / 0.8714 GB, free: 280 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00305/0.7847, allocations: 1.337 MB / 0.8727 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.7848, allocations: 16 kB / 0.8727 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.7848, allocations: 0 / 0.8727 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.66e-05/0.7848, allocations: 3.984 kB / 0.8728 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004167/0.789, allocations: 2.461 MB / 0.8752 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.789, allocations: 0 / 0.8752 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008284/0.7898, allocations: 191.8 kB / 0.8753 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006896/0.7905, allocations: 117.6 kB / 0.8755 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.858e-05/0.7906, allocations: 31.97 kB / 0.8755 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002777/0.7934, allocations: 2.883 MB / 0.8783 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-06/0.7934, allocations: 11.91 kB / 0.8783 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002738/0.7962, allocations: 1.247 MB / 0.8795 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000564/0.7967, allocations: 327.3 kB / 0.8798 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000165/0.7969, allocations: 28 kB / 0.8799 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008855/0.7978, allocations: 95.91 kB / 0.88 GB, free: 7.129 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002073/0.798, allocations: 88.81 kB / 0.88 GB, free: 7.043 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001092/0.7981, allocations: 39.97 kB / 0.8801 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008346/0.799, allocations: 0.5693 MB / 0.8806 GB, free: 6.441 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.51e-07/0.799, allocations: 0 / 0.8806 GB, free: 6.441 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00138/0.8004, allocations: 451.1 kB / 0.8811 GB, free: 6 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.001763/0.8022, allocations: 0.7193 MB / 0.8818 GB, free: 5.461 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002479/0.8046, allocations: 1.162 MB / 0.8829 GB, free: 4.273 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.8047, allocations: 4 kB / 0.8829 GB, free: 4.27 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001256/0.8059, allocations: 0.7488 MB / 0.8836 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0016/0.8075, allocations: 314.7 kB / 0.8839 GB, free: 3.195 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005624/0.8132, allocations: 2.686 MB / 0.8866 GB, free: 500 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008255/0.814, allocations: 1.099 MB / 0.8876 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001212/0.8152, allocations: 311.6 kB / 0.8879 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000331/0.8156, allocations: 119.3 kB / 0.888 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of SimCode: time 1.042e-06/0.8156, allocations: 0 / 0.888 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of Templates: time 0.03271/0.8483, allocations: 18.68 MB / 0.9063 GB, free: 12.46 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)