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.001474/0.001474, allocations: 105.5 kB / 16.27 MB, free: 6.414 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.001398/0.001398, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.309/1.309, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00239/0.002389, allocations: 299.2 kB / 291.3 MB, free: 14.58 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9298/0.9298, allocations: 169.3 MB / 0.4988 GB, free: 4.539 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001794/0.001794, allocations: 94.33 kB / 0.5959 GB, free: 15.19 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1624, allocations: 86.98 MB / 0.6808 GB, free: 8.207 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.4554/0.6178, allocations: 154 MB / 0.8312 GB, free: 5.059 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01473/0.6326, allocations: 10.51 MB / 0.8415 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009804/0.6336, allocations: 15.94 kB / 0.8415 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009862/0.6347, allocations: 265.8 kB / 0.8418 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002985/0.6377, allocations: 0.9294 MB / 0.8427 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002651/0.6404, allocations: 1.071 MB / 0.8437 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001953/0.6423, allocations: 1.628 MB / 0.8453 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00175/0.6441, allocations: 1.184 MB / 0.8465 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001926/0.646, allocations: 0.7058 MB / 0.8471 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009339/0.647, allocations: 0.6068 MB / 0.8477 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003384/0.6473, allocations: 132 kB / 0.8479 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002005/0.6493, allocations: 0.9987 MB / 0.8488 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004307/0.6498, allocations: 390.8 kB / 0.8492 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008713/0.6507, allocations: 0.6451 MB / 0.8498 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003106/0.6538, allocations: 2.142 MB / 0.8519 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.6538, allocations: 3.984 kB / 0.8519 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6538, allocations: 0 / 0.8519 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.508e-05/0.6539, allocations: 3.938 kB / 0.8519 GB, free: 15.8 MB / 0.6231 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.003719/0.6576, allocations: 1.692 MB / 0.8536 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.6576, allocations: 12.03 kB / 0.8536 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00172/0.6594, allocations: 266.1 kB / 0.8539 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001421/0.6608, allocations: 0.8784 MB / 0.8547 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.604e-05/0.6609, allocations: 85.86 kB / 0.8548 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/0.6611, allocations: 92 kB / 0.8549 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002045/0.6631, allocations: 1.102 MB / 0.856 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.6631, allocations: 0 / 0.856 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/0.6633, allocations: 47.98 kB / 0.856 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.085e-05/0.6633, allocations: 24 kB / 0.856 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002276/0.6656, allocations: 1.315 MB / 0.8573 GB, free: 10.15 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.005362/0.6709, allocations: 3.233 MB / 0.8605 GB, free: 6.809 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001989/0.6729, allocations: 1.097 MB / 0.8615 GB, free: 5.695 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000766/0.6737, allocations: 428.9 kB / 0.862 GB, free: 5.273 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002466/0.674, allocations: 138 kB / 0.8621 GB, free: 5.121 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00112/0.6751, allocations: 0.6254 MB / 0.8627 GB, free: 4.48 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=95): time 3.496e-06/0.6751, allocations: 0 / 0.8627 GB, free: 4.48 MB / 0.6231 GB Notification: Performance of matching and sorting (n=95): time 0.004187/0.6793, allocations: 1.631 MB / 0.8643 GB, free: 2.797 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.792e-05/0.6794, allocations: 192.9 kB / 0.8645 GB, free: 2.566 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/0.6806, allocations: 0.8057 MB / 0.8653 GB, free: 1.754 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.251e-05/0.6807, allocations: 45.7 kB / 0.8653 GB, free: 1.703 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003824/0.6811, allocations: 464.4 kB / 0.8657 GB, free: 1.242 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002651/0.6813, allocations: 307.6 kB / 0.866 GB, free: 0.9375 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002991/0.6816, allocations: 190.5 kB / 0.8662 GB, free: 0.7461 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.6818, allocations: 334 kB / 0.8665 GB, free: 424 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007515/0.6825, allocations: 353.8 kB / 0.8669 GB, free: 68 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000864/0.6834, allocations: 485.6 kB / 0.8673 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001517/0.6849, allocations: 0.7882 MB / 0.8681 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.685, allocations: 0 / 0.8681 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002594/0.6876, allocations: 1.087 MB / 0.8692 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.6876, allocations: 8 kB / 0.8692 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.6876, allocations: 0 / 0.8692 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007562/0.6884, allocations: 113.7 kB / 0.8693 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000913/0.6893, allocations: 211.7 kB / 0.8695 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003289/0.6926, allocations: 3.064 MB / 0.8725 GB, free: 9.984 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/0.6936, allocations: 107.3 kB / 0.8726 GB, free: 9.879 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/0.6938, allocations: 39.97 kB / 0.8726 GB, free: 9.84 MB / 0.6387 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.0006672/0.6944, allocations: 311.3 kB / 0.8729 GB, free: 9.527 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003391/0.6948, allocations: 106.8 kB / 0.873 GB, free: 9.422 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003101/0.6979, allocations: 1.318 MB / 0.8743 GB, free: 8.09 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/0.6979, allocations: 8 kB / 0.8743 GB, free: 8.082 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.6979, allocations: 8 kB / 0.8743 GB, free: 8.074 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.6979, allocations: 3.984 kB / 0.8743 GB, free: 8.07 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004487/0.7024, allocations: 2.43 MB / 0.8767 GB, free: 5.578 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.7025, allocations: 0 / 0.8767 GB, free: 5.578 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008202/0.7033, allocations: 195.8 kB / 0.8769 GB, free: 5.387 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005958/0.7039, allocations: 109.6 kB / 0.877 GB, free: 5.273 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.96e-05/0.704, allocations: 27.92 kB / 0.877 GB, free: 5.246 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002804/0.7068, allocations: 3.084 MB / 0.88 GB, free: 1.875 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.7068, allocations: 4 kB / 0.88 GB, free: 1.871 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002617/0.7094, allocations: 1.227 MB / 0.8812 GB, free: 0.6211 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005069/0.71, allocations: 319.5 kB / 0.8815 GB, free: 296 kB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001889/0.7102, allocations: 24 kB / 0.8816 GB, free: 272 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008513/0.711, allocations: 72.92 kB / 0.8816 GB, free: 200 kB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/0.7112, allocations: 76.89 kB / 0.8817 GB, free: 120 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.825e-05/0.7113, allocations: 51.97 kB / 0.8817 GB, free: 68 kB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007763/0.7121, allocations: 0.5733 MB / 0.8823 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7121, allocations: 0 / 0.8823 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00119/0.7133, allocations: 439.2 kB / 0.8827 GB, free: 15.06 MB / 0.6544 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.0017/0.715, allocations: 0.719 MB / 0.8834 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003075/0.7181, allocations: 1.392 MB / 0.8848 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.7181, allocations: 4 kB / 0.8848 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00125/0.7194, allocations: 0.7449 MB / 0.8855 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00145/0.7208, allocations: 349.3 kB / 0.8859 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004612/0.7255, allocations: 2.174 MB / 0.888 GB, free: 9.824 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007036/0.7262, allocations: 1.099 MB / 0.8891 GB, free: 8.691 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003798/0.7266, allocations: 131.4 kB / 0.8892 GB, free: 8.562 MB / 0.6544 GB Notification: Performance of SimCode: time 4.81e-07/0.7266, allocations: 0 / 0.8892 GB, free: 8.562 MB / 0.6544 GB Notification: Performance of Templates: time 0.0333/0.7599, allocations: 27.25 MB / 0.9158 GB, free: 13.41 MB / 0.6856 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)