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.007301/0.007301, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.001311/0.001311, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002147/0.002147, allocations: 290.4 kB / 290.8 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.945/0.945, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 103.8 kB / 0.6814 GB, free: 15.49 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.2016, allocations: 86.97 MB / 0.7664 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.5768/0.7784, allocations: 154 MB / 0.9168 GB, free: 8.945 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01405/0.7925, allocations: 10.51 MB / 0.927 GB, free: 14.42 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001118/0.7937, allocations: 19.94 kB / 0.9271 GB, free: 14.4 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0009944/0.7948, allocations: 273.8 kB / 0.9273 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.003008/0.7978, allocations: 0.9341 MB / 0.9282 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0027/0.8005, allocations: 1.082 MB / 0.9293 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001881/0.8024, allocations: 1.644 MB / 0.9309 GB, free: 10.47 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001472/0.8039, allocations: 1.181 MB / 0.932 GB, free: 9.27 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001829/0.8057, allocations: 0.7246 MB / 0.9328 GB, free: 8.559 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006623/0.8064, allocations: 0.6029 MB / 0.9333 GB, free: 7.953 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001713/0.8065, allocations: 136 kB / 0.9335 GB, free: 7.82 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002019/0.8086, allocations: 1.03 MB / 0.9345 GB, free: 6.789 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003277/0.8089, allocations: 382.8 kB / 0.9348 GB, free: 6.414 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005805/0.8095, allocations: 0.649 MB / 0.9355 GB, free: 5.762 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002797/0.8123, allocations: 2.193 MB / 0.9376 GB, free: 3.562 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.8123, allocations: 0 / 0.9376 GB, free: 3.562 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.824e-06/0.8123, allocations: 4 kB / 0.9376 GB, free: 3.559 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.355e-05/0.8124, allocations: 0 / 0.9376 GB, free: 3.559 MB / 0.6856 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.002893/0.8153, allocations: 1.691 MB / 0.9393 GB, free: 1.812 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.8153, allocations: 12.03 kB / 0.9393 GB, free: 1.801 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001582/0.8169, allocations: 270.1 kB / 0.9395 GB, free: 1.535 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001245/0.8182, allocations: 0.9057 MB / 0.9404 GB, free: 0.5859 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.403e-05/0.8182, allocations: 81.94 kB / 0.9405 GB, free: 0.5039 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.8184, allocations: 93.94 kB / 0.9406 GB, free: 424 kB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001875/0.8202, allocations: 1.106 MB / 0.9417 GB, free: 15.27 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.8203, allocations: 7.938 kB / 0.9417 GB, free: 15.26 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.8204, allocations: 40 kB / 0.9417 GB, free: 15.22 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.163e-05/0.8204, allocations: 24 kB / 0.9417 GB, free: 15.2 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002122/0.8225, allocations: 1.315 MB / 0.943 GB, free: 13.88 MB / 0.7012 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.004756/0.8273, allocations: 3.186 MB / 0.9461 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001926/0.8292, allocations: 1.104 MB / 0.9472 GB, free: 9.469 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007271/0.83, allocations: 418.1 kB / 0.9476 GB, free: 9.062 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002389/0.8302, allocations: 142 kB / 0.9478 GB, free: 8.902 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001081/0.8313, allocations: 0.6215 MB / 0.9484 GB, free: 8.266 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=95): time 2.545e-06/0.8313, allocations: 0 / 0.9484 GB, free: 8.266 MB / 0.7012 GB Notification: Performance of matching and sorting (n=95): time 0.004026/0.8354, allocations: 1.627 MB / 0.9499 GB, free: 6.586 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/0.8355, allocations: 196.9 kB / 0.9501 GB, free: 6.352 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001053/0.8366, allocations: 0.8095 MB / 0.9509 GB, free: 5.535 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.379e-05/0.8367, allocations: 49.64 kB / 0.951 GB, free: 5.48 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003858/0.8371, allocations: 468.4 kB / 0.9514 GB, free: 5.016 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002424/0.8373, allocations: 311.5 kB / 0.9517 GB, free: 4.707 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002756/0.8376, allocations: 182.5 kB / 0.9519 GB, free: 4.523 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.8377, allocations: 334 kB / 0.9522 GB, free: 4.191 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006939/0.8384, allocations: 365.8 kB / 0.9526 GB, free: 3.832 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008179/0.8392, allocations: 473.6 kB / 0.953 GB, free: 3.348 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001478/0.8407, allocations: 0.7882 MB / 0.9538 GB, free: 2.551 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.768e-06/0.8407, allocations: 0 / 0.9538 GB, free: 2.551 MB / 0.7012 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002458/0.8432, allocations: 1.08 MB / 0.9548 GB, free: 1.453 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.8432, allocations: 8 kB / 0.9548 GB, free: 1.445 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.8433, allocations: 4.859 kB / 0.9548 GB, free: 1.441 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007108/0.844, allocations: 121.6 kB / 0.955 GB, free: 1.316 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009039/0.8449, allocations: 207.7 kB / 0.9552 GB, free: 1.113 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003034/0.8479, allocations: 3.067 MB / 0.9582 GB, free: 13.76 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009589/0.8489, allocations: 107.2 kB / 0.9583 GB, free: 13.66 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-05/0.849, allocations: 43.91 kB / 0.9583 GB, free: 13.61 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.0006673/0.8497, allocations: 315.2 kB / 0.9586 GB, free: 13.3 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002147/0.8499, allocations: 98.78 kB / 0.9587 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002847/0.8528, allocations: 1.318 MB / 0.96 GB, free: 11.86 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.8528, allocations: 8 kB / 0.96 GB, free: 11.86 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.8528, allocations: 0 / 0.96 GB, free: 11.86 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.455e-05/0.8528, allocations: 8.031 kB / 0.96 GB, free: 11.85 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003981/0.8568, allocations: 2.42 MB / 0.9624 GB, free: 9.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.8568, allocations: 0 / 0.9624 GB, free: 9.367 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007992/0.8576, allocations: 195.8 kB / 0.9625 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005444/0.8582, allocations: 101.6 kB / 0.9626 GB, free: 9.07 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.273e-05/0.8582, allocations: 35.86 kB / 0.9627 GB, free: 9.035 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002816/0.8611, allocations: 3.089 MB / 0.9657 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.8611, allocations: 4.062 kB / 0.9657 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002579/0.8637, allocations: 1.233 MB / 0.9669 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004533/0.8641, allocations: 315.5 kB / 0.9672 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/0.8643, allocations: 20 kB / 0.9672 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008238/0.8651, allocations: 82.41 kB / 0.9673 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000189/0.8653, allocations: 76.89 kB / 0.9674 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.582e-05/0.8654, allocations: 47.91 kB / 0.9674 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007545/0.8662, allocations: 0.5693 MB / 0.968 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8662, allocations: 0 / 0.968 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001298/0.8675, allocations: 443.2 kB / 0.9684 GB, free: 2.852 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.001665/0.8692, allocations: 0.7218 MB / 0.9691 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002245/0.8714, allocations: 1.142 MB / 0.9702 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.8714, allocations: 3.938 kB / 0.9702 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0012/0.8726, allocations: 0.7372 MB / 0.9709 GB, free: 392 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001453/0.8741, allocations: 356.5 kB / 0.9713 GB, free: 68 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004624/0.8787, allocations: 2.118 MB / 0.9733 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006762/0.8794, allocations: 1.11 MB / 0.9744 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0009337/0.8804, allocations: 303.7 kB / 0.9747 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003032/0.8807, allocations: 119.4 kB / 0.9748 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of SimCode: time 4.51e-07/0.8807, allocations: 0 / 0.9748 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of Templates: time 0.03515/0.9158, allocations: 19.79 MB / 0.9942 GB, free: 8.781 MB / 0.7481 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)