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.008161/0.008161, allocations: 101.8 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.001437/0.001437, allocations: 192.3 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002111/0.002111, allocations: 290.6 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.9728/0.9728, allocations: 169.3 MB / 0.4983 GB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 100.3 kB / 0.6814 GB, free: 15.51 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1738, allocations: 86.97 MB / 0.7664 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.5246/0.6985, allocations: 154 MB / 0.9168 GB, free: 8.836 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01396/0.7125, allocations: 10.5 MB / 0.927 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009728/0.7135, allocations: 15.94 kB / 0.927 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001072/0.7146, allocations: 277.8 kB / 0.9273 GB, free: 14.03 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002976/0.7176, allocations: 0.9379 MB / 0.9282 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002609/0.7202, allocations: 1.085 MB / 0.9293 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001947/0.7222, allocations: 1.644 MB / 0.9309 GB, free: 10.37 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001684/0.7239, allocations: 1.183 MB / 0.932 GB, free: 9.164 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001986/0.7259, allocations: 0.7271 MB / 0.9328 GB, free: 8.449 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009502/0.7268, allocations: 0.6068 MB / 0.9334 GB, free: 7.84 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003791/0.7272, allocations: 136 kB / 0.9335 GB, free: 7.707 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002032/0.7292, allocations: 1.026 MB / 0.9345 GB, free: 6.68 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004461/0.7297, allocations: 382.8 kB / 0.9348 GB, free: 6.305 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0008873/0.7306, allocations: 0.649 MB / 0.9355 GB, free: 5.652 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003102/0.7337, allocations: 2.196 MB / 0.9376 GB, free: 3.449 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.7337, allocations: 0 / 0.9376 GB, free: 3.449 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7337, allocations: 0 / 0.9376 GB, free: 3.449 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.099e-05/0.7338, allocations: 0 / 0.9376 GB, free: 3.449 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.003502/0.7373, allocations: 1.699 MB / 0.9393 GB, free: 1.695 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.7374, allocations: 8.031 kB / 0.9393 GB, free: 1.688 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001718/0.7391, allocations: 270.1 kB / 0.9396 GB, free: 1.422 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001513/0.7406, allocations: 0.9017 MB / 0.9404 GB, free: 488 kB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-05/0.7407, allocations: 77.94 kB / 0.9405 GB, free: 408 kB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001539/0.7409, allocations: 96 kB / 0.9406 GB, free: 312 kB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002112/0.743, allocations: 1.11 MB / 0.9417 GB, free: 15.16 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.725e-05/0.743, allocations: 0 / 0.9417 GB, free: 15.16 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.7431, allocations: 43.94 kB / 0.9417 GB, free: 15.11 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.499e-05/0.7432, allocations: 20 kB / 0.9417 GB, free: 15.09 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00236/0.7455, allocations: 1.319 MB / 0.943 GB, free: 13.77 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.00526/0.7508, allocations: 3.183 MB / 0.9461 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002049/0.7529, allocations: 1.106 MB / 0.9472 GB, free: 9.359 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007851/0.7537, allocations: 421.5 kB / 0.9476 GB, free: 8.949 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002481/0.7539, allocations: 138 kB / 0.9478 GB, free: 8.793 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001079/0.755, allocations: 0.6215 MB / 0.9484 GB, free: 8.156 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=95): time 2.665e-06/0.755, allocations: 0 / 0.9484 GB, free: 8.156 MB / 0.7012 GB Notification: Performance of matching and sorting (n=95): time 0.004111/0.7591, allocations: 1.631 MB / 0.95 GB, free: 6.473 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.931e-05/0.7593, allocations: 188.9 kB / 0.9501 GB, free: 6.246 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.7603, allocations: 0.8134 MB / 0.9509 GB, free: 5.426 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.642e-05/0.7604, allocations: 49.69 kB / 0.951 GB, free: 5.371 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003583/0.7607, allocations: 468.4 kB / 0.9514 GB, free: 4.906 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002374/0.761, allocations: 307.5 kB / 0.9517 GB, free: 4.602 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003167/0.7613, allocations: 182.5 kB / 0.9519 GB, free: 4.418 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.7614, allocations: 345.9 kB / 0.9522 GB, free: 4.074 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007104/0.7621, allocations: 353.8 kB / 0.9526 GB, free: 3.727 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000856/0.763, allocations: 471.5 kB / 0.953 GB, free: 3.246 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001486/0.7645, allocations: 0.7882 MB / 0.9538 GB, free: 2.449 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.7645, allocations: 3.938 kB / 0.9538 GB, free: 2.449 MB / 0.7012 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002535/0.7671, allocations: 1.088 MB / 0.9548 GB, free: 1.344 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.7671, allocations: 7.984 kB / 0.9549 GB, free: 1.336 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.7671, allocations: 0 / 0.9549 GB, free: 1.336 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007299/0.7678, allocations: 117.6 kB / 0.955 GB, free: 1.215 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009214/0.7688, allocations: 207.7 kB / 0.9552 GB, free: 1.012 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003115/0.7719, allocations: 3.057 MB / 0.9581 GB, free: 13.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009644/0.7729, allocations: 119.2 kB / 0.9583 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.08e-05/0.773, allocations: 43.97 kB / 0.9583 GB, free: 13.5 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.0005623/0.7736, allocations: 307.5 kB / 0.9586 GB, free: 13.19 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002201/0.7738, allocations: 98.78 kB / 0.9587 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002931/0.7767, allocations: 1.32 MB / 0.96 GB, free: 11.76 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.7768, allocations: 12 kB / 0.96 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.7768, allocations: 4 kB / 0.96 GB, free: 11.74 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.7768, allocations: 3.984 kB / 0.96 GB, free: 11.74 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004119/0.7809, allocations: 2.416 MB / 0.9624 GB, free: 9.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.7809, allocations: 0 / 0.9624 GB, free: 9.266 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008628/0.7818, allocations: 191.8 kB / 0.9625 GB, free: 9.078 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005625/0.7824, allocations: 101.6 kB / 0.9626 GB, free: 8.973 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.62e-05/0.7825, allocations: 39.91 kB / 0.9627 GB, free: 8.934 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002933/0.7854, allocations: 3.092 MB / 0.9657 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.7854, allocations: 0 / 0.9657 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002677/0.7881, allocations: 1.233 MB / 0.9669 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004738/0.7886, allocations: 311.5 kB / 0.9672 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/0.7887, allocations: 24 kB / 0.9672 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008233/0.7896, allocations: 82.56 kB / 0.9673 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001982/0.7898, allocations: 80.89 kB / 0.9674 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001063/0.7899, allocations: 47.91 kB / 0.9674 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007702/0.7907, allocations: 0.5693 MB / 0.968 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.81e-07/0.7907, allocations: 0 / 0.968 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001269/0.792, allocations: 443.1 kB / 0.9684 GB, free: 2.746 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.001788/0.7938, allocations: 0.7148 MB / 0.9691 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002323/0.7961, allocations: 1.15 MB / 0.9702 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.7961, allocations: 4.188 kB / 0.9702 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001291/0.7974, allocations: 0.7371 MB / 0.9709 GB, free: 284 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001471/0.7989, allocations: 350.8 kB / 0.9713 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004617/0.8035, allocations: 2.128 MB / 0.9734 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006953/0.8042, allocations: 1.099 MB / 0.9744 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0009934/0.8053, allocations: 307.6 kB / 0.9747 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003177/0.8056, allocations: 123.4 kB / 0.9748 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of SimCode: time 8.42e-07/0.8056, allocations: 0 / 0.9748 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of Templates: time 0.03363/0.8392, allocations: 19.79 MB / 0.9942 GB, free: 8.672 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)