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.001283/0.001283, allocations: 107.8 kB / 16.41 MB, free: 6.504 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.001253/0.001253, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.483/1.483, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002495/0.002495, allocations: 286.5 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.013/1.013, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002839/0.002839, allocations: 95.84 kB / 0.6821 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4214/0.4242, allocations: 86.98 MB / 0.767 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1947/0.6189, allocations: 154.4 MB / 0.9179 GB, free: 8.816 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01586/0.6348, allocations: 10.52 MB / 0.9281 GB, free: 14.26 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00114/0.6359, allocations: 15.94 kB / 0.9282 GB, free: 14.24 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.00108/0.637, allocations: 277.8 kB / 0.9284 GB, free: 13.97 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.003234/0.6402, allocations: 0.9375 MB / 0.9293 GB, free: 13.03 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002919/0.6431, allocations: 1.08 MB / 0.9304 GB, free: 11.96 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.00247/0.6456, allocations: 1.644 MB / 0.932 GB, free: 10.31 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001711/0.6473, allocations: 0.989 MB / 0.933 GB, free: 9.297 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002351/0.6497, allocations: 0.7245 MB / 0.9337 GB, free: 8.582 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009339/0.6506, allocations: 0.6107 MB / 0.9343 GB, free: 7.969 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0002294/0.6508, allocations: 136 kB / 0.9344 GB, free: 7.836 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002389/0.6532, allocations: 1.026 MB / 0.9354 GB, free: 6.809 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.000441/0.6537, allocations: 382.8 kB / 0.9358 GB, free: 6.434 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0008093/0.6545, allocations: 0.649 MB / 0.9364 GB, free: 5.781 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.003992/0.6585, allocations: 2.193 MB / 0.9385 GB, free: 3.582 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 1.231e-05/0.6585, allocations: 4 kB / 0.9385 GB, free: 3.578 MB / 0.7012 GB Notification: Performance of FrontEnd: time 4.639e-06/0.6585, allocations: 3.984 kB / 0.9385 GB, free: 3.574 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 3.245e-05/0.6585, allocations: 0 / 0.9385 GB, free: 3.574 MB / 0.7012 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.004069/0.6626, allocations: 1.739 MB / 0.9402 GB, free: 1.777 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 6.094e-05/0.6626, allocations: 8.031 kB / 0.9403 GB, free: 1.77 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001808/0.6644, allocations: 278.9 kB / 0.9405 GB, free: 1.496 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001568/0.666, allocations: 0.9142 MB / 0.9414 GB, free: 0.5391 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.075e-05/0.6661, allocations: 70 kB / 0.9415 GB, free: 480 kB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001544/0.6662, allocations: 100 kB / 0.9416 GB, free: 380 kB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002188/0.6684, allocations: 1.11 MB / 0.9427 GB, free: 15.22 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/0.6684, allocations: 0 / 0.9427 GB, free: 15.22 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/0.6686, allocations: 44 kB / 0.9427 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.583e-05/0.6686, allocations: 24 kB / 0.9427 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00242/0.671, allocations: 1.315 MB / 0.944 GB, free: 13.84 MB / 0.7169 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.005894/0.6769, allocations: 3.198 MB / 0.9471 GB, free: 10.53 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002151/0.6791, allocations: 1.043 MB / 0.9481 GB, free: 9.469 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008091/0.6799, allocations: 385.8 kB / 0.9485 GB, free: 9.094 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002747/0.6802, allocations: 142 kB / 0.9487 GB, free: 8.934 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001218/0.6814, allocations: 0.6215 MB / 0.9493 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=95): time 2.414e-06/0.6814, allocations: 0 / 0.9493 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of matching and sorting (n=95): time 0.004632/0.686, allocations: 1.636 MB / 0.9509 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001298/0.6861, allocations: 188.9 kB / 0.951 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/0.6874, allocations: 0.8174 MB / 0.9518 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001234/0.6875, allocations: 49.7 kB / 0.9519 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.00048/0.688, allocations: 465.2 kB / 0.9523 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003222/0.6883, allocations: 325.3 kB / 0.9526 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003159/0.6887, allocations: 190.5 kB / 0.9528 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.6888, allocations: 337.9 kB / 0.9531 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007968/0.6896, allocations: 353.8 kB / 0.9535 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009371/0.6906, allocations: 477.6 kB / 0.9539 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001634/0.6922, allocations: 0.7843 MB / 0.9547 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.6922, allocations: 0 / 0.9547 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002833/0.695, allocations: 1.1 MB / 0.9558 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/0.6951, allocations: 8 kB / 0.9558 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.6951, allocations: 0 / 0.9558 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008048/0.6959, allocations: 121.6 kB / 0.9559 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009874/0.6969, allocations: 203.7 kB / 0.9561 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4073/1.104, allocations: 3.056 MB / 0.9591 GB, free: 185.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001224/1.105, allocations: 118.1 kB / 0.9592 GB, free: 185.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/1.106, allocations: 41.52 kB / 0.9592 GB, free: 185.9 MB / 0.7169 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.000675/1.106, allocations: 313.4 kB / 0.9595 GB, free: 185.8 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002465/1.106, allocations: 106.8 kB / 0.9596 GB, free: 185.8 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003439/1.11, allocations: 1.314 MB / 0.9609 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.861e-05/1.11, allocations: 11.78 kB / 0.9609 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/1.11, allocations: 1.297 kB / 0.9609 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.385e-05/1.11, allocations: 5.484 kB / 0.9609 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004278/1.114, allocations: 2.421 MB / 0.9633 GB, free: 184.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/1.114, allocations: 0.5625 kB / 0.9633 GB, free: 184.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008679/1.115, allocations: 192 kB / 0.9635 GB, free: 184.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000578/1.116, allocations: 105.9 kB / 0.9636 GB, free: 184.4 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.039e-05/1.116, allocations: 31.97 kB / 0.9636 GB, free: 184.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002382/1.118, allocations: 3.098 MB / 0.9666 GB, free: 181.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.118, allocations: 0 / 0.9666 GB, free: 181.4 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002661/1.121, allocations: 1.234 MB / 0.9678 GB, free: 180.9 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005187/1.121, allocations: 325.6 kB / 0.9681 GB, free: 180.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001379/1.121, allocations: 26.19 kB / 0.9682 GB, free: 180.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008589/1.122, allocations: 76.14 kB / 0.9682 GB, free: 180.7 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002118/1.122, allocations: 81.81 kB / 0.9683 GB, free: 180.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.644e-05/1.123, allocations: 46.03 kB / 0.9684 GB, free: 180.6 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000794/1.123, allocations: 0.5754 MB / 0.9689 GB, free: 180.4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/1.123, allocations: 0 / 0.9689 GB, free: 180.4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001299/1.125, allocations: 446.8 kB / 0.9694 GB, free: 180.3 MB / 0.7169 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.00219/1.127, allocations: 0.7177 MB / 0.9701 GB, free: 180.1 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002145/1.129, allocations: 1.101 MB / 0.9711 GB, free: 179.7 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.431e-06/1.129, allocations: 7.531 kB / 0.9711 GB, free: 179.7 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001145/1.13, allocations: 0.7076 MB / 0.9718 GB, free: 179.3 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001545/1.132, allocations: 348.8 kB / 0.9722 GB, free: 179.2 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00425/1.136, allocations: 2.167 MB / 0.9743 GB, free: 178.2 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000463/1.136, allocations: 1.102 MB / 0.9754 GB, free: 177.4 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0009344/1.137, allocations: 308.4 kB / 0.9756 GB, free: 177.3 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002781/1.138, allocations: 115.4 kB / 0.9758 GB, free: 177.3 MB / 0.7169 GB Notification: Performance of SimCode: time 8.22e-07/1.138, allocations: 0 / 0.9758 GB, free: 177.3 MB / 0.7169 GB Notification: Performance of Templates: time 0.0271/1.165, allocations: 19.88 MB / 0.9952 GB, free: 158.2 MB / 0.7169 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1)