Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData") translateModel(IDEAS.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 182.8 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6988/0.6988, allocations: 132.2 MB / 148.9 MB, free: 12.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 222.9 MB / 403.3 MB, free: 7.086 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 110.9 kB / 484.3 MB, free: 8.746 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 59.89 kB / 0.5618 GB, free: 71.08 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1936/0.1953, allocations: 80.2 MB / 0.6402 GB, free: 6.816 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 0.4567/0.652, allocations: 164.6 MB / 0.8009 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.01991/0.672, allocations: 17.16 MB / 0.8177 GB, free: 13.45 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001248/0.6732, allocations: 27.81 kB / 0.8177 GB, free: 13.42 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001386/0.6746, allocations: 453.3 kB / 0.8181 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.003687/0.6784, allocations: 1.459 MB / 0.8196 GB, free: 11.51 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002995/0.6814, allocations: 1.228 MB / 0.8208 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.002703/0.6841, allocations: 2.79 MB / 0.8235 GB, free: 7.504 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002243/0.6864, allocations: 1.822 MB / 0.8253 GB, free: 5.637 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005443/0.6918, allocations: 1.21 MB / 0.8264 GB, free: 4.465 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00125/0.6931, allocations: 1.015 MB / 0.8274 GB, free: 3.445 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002435/0.6933, allocations: 112 kB / 0.8275 GB, free: 3.336 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003075/0.6964, allocations: 1.575 MB / 0.8291 GB, free: 1.758 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0005904/0.697, allocations: 0.6697 MB / 0.8297 GB, free: 1.086 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0009701/0.698, allocations: 1.029 MB / 0.8307 GB, free: 52 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.003903/0.7019, allocations: 3.306 MB / 0.834 GB, free: 12.73 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.7019, allocations: 0 / 0.834 GB, free: 12.73 MB / 0.573 GB Notification: Performance of FrontEnd: time 9.51e-07/0.7019, allocations: 4 kB / 0.834 GB, free: 12.73 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.328e-05/0.702, allocations: 0 / 0.834 GB, free: 12.73 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 417 * Number of variables: 417 Notification: Performance of Generate backend data structure: time 0.004628/0.7066, allocations: 2.619 MB / 0.8365 GB, free: 10.05 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.7067, allocations: 8.031 kB / 0.8365 GB, free: 10.04 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003384/0.71, allocations: 0.5435 MB / 0.8371 GB, free: 9.492 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002503/0.7126, allocations: 1.56 MB / 0.8386 GB, free: 7.879 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.833e-05/0.7127, allocations: 123.3 kB / 0.8387 GB, free: 7.758 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000199/0.7129, allocations: 164 kB / 0.8389 GB, free: 7.598 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003097/0.716, allocations: 1.888 MB / 0.8407 GB, free: 5.656 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.766e-05/0.716, allocations: 0 / 0.8407 GB, free: 5.656 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001457/0.7162, allocations: 72 kB / 0.8408 GB, free: 5.586 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.444e-05/0.7162, allocations: 40 kB / 0.8408 GB, free: 5.547 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003356/0.7196, allocations: 2.038 MB / 0.8428 GB, free: 3.504 MB / 0.573 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.008421/0.728, allocations: 5.554 MB / 0.8482 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002979/0.731, allocations: 2 MB / 0.8502 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00116/0.7322, allocations: 0.7334 MB / 0.8509 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005529/0.7328, allocations: 433.6 kB / 0.8513 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001553/0.7343, allocations: 0.931 MB / 0.8522 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=137): time 2.775e-06/0.7343, allocations: 0 / 0.8522 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of matching and sorting (n=137): time 0.006393/0.7407, allocations: 2.825 MB / 0.855 GB, free: 6.484 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.7409, allocations: 197.2 kB / 0.8552 GB, free: 6.246 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002245/0.7431, allocations: 1.742 MB / 0.8569 GB, free: 4.492 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001227/0.7432, allocations: 53.7 kB / 0.8569 GB, free: 4.434 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006641/0.7439, allocations: 0.8073 MB / 0.8577 GB, free: 3.613 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003664/0.7443, allocations: 465.2 kB / 0.8582 GB, free: 3.152 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003864/0.7447, allocations: 242.7 kB / 0.8584 GB, free: 2.91 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.7448, allocations: 349.9 kB / 0.8587 GB, free: 2.562 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001041/0.7459, allocations: 0.5608 MB / 0.8593 GB, free: 2 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001284/0.7472, allocations: 0.7584 MB / 0.86 GB, free: 1.191 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002223/0.7494, allocations: 1.286 MB / 0.8613 GB, free: 15.89 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.7494, allocations: 0 / 0.8613 GB, free: 15.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003627/0.7531, allocations: 1.721 MB / 0.8629 GB, free: 14.14 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.7531, allocations: 12.09 kB / 0.863 GB, free: 14.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.7531, allocations: 0 / 0.863 GB, free: 14.13 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001059/0.7542, allocations: 216.1 kB / 0.8632 GB, free: 13.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001477/0.7557, allocations: 319.5 kB / 0.8635 GB, free: 13.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005299/0.761, allocations: 6.809 MB / 0.8701 GB, free: 6.121 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/0.7624, allocations: 154.9 kB / 0.8703 GB, free: 5.969 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/0.7625, allocations: 55.95 kB / 0.8703 GB, free: 5.914 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0008906/0.7634, allocations: 471.4 kB / 0.8708 GB, free: 5.445 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002859/0.7637, allocations: 173.9 kB / 0.8709 GB, free: 5.273 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004229/0.7679, allocations: 2.022 MB / 0.8729 GB, free: 3.223 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.7679, allocations: 16 kB / 0.8729 GB, free: 3.207 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.768, allocations: 7.938 kB / 0.8729 GB, free: 3.199 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/0.768, allocations: 7.969 kB / 0.8729 GB, free: 3.191 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006087/0.7741, allocations: 3.796 MB / 0.8766 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.7741, allocations: 0 / 0.8766 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001446/0.7755, allocations: 311.5 kB / 0.8769 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009747/0.7765, allocations: 212.1 kB / 0.8771 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.054e-05/0.7766, allocations: 43.97 kB / 0.8772 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005245/0.7819, allocations: 6.831 MB / 0.8839 GB, free: 7.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.7819, allocations: 0 / 0.8839 GB, free: 7.23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005922/0.7878, allocations: 3.581 MB / 0.8874 GB, free: 3.57 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008801/0.7887, allocations: 458.6 kB / 0.8878 GB, free: 3.102 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002444/0.789, allocations: 39.88 kB / 0.8878 GB, free: 3.062 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001207/0.7902, allocations: 109.5 kB / 0.8879 GB, free: 2.957 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002275/0.7904, allocations: 105.1 kB / 0.888 GB, free: 2.855 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001381/0.7906, allocations: 67.95 kB / 0.8881 GB, free: 2.789 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001483/0.7921, allocations: 1.252 MB / 0.8893 GB, free: 1.539 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7921, allocations: 0 / 0.8893 GB, free: 1.539 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001636/0.7937, allocations: 0.6468 MB / 0.89 GB, free: 0.8906 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (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.001621/0.7954, allocations: 0.7323 MB / 0.8907 GB, free: 348 kB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003152/0.7985, allocations: 2 MB / 0.8926 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/0.7986, allocations: 4.797 kB / 0.8926 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001881/0.8004, allocations: 1.372 MB / 0.894 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002324/0.8028, allocations: 496.8 kB / 0.8944 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007704/0.8105, allocations: 5.258 MB / 0.8996 GB, free: 7.059 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001103/0.8116, allocations: 1.544 MB / 0.9011 GB, free: 5.48 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001957/0.8136, allocations: 0.4885 MB / 0.9016 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004642/0.8141, allocations: 163.3 kB / 0.9017 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of SimCode: time 6.41e-07/0.8141, allocations: 0 / 0.9017 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of Templates: time 0.04746/0.8615, allocations: 29.63 MB / 0.9307 GB, free: 7.418 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.makefile (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.sim & ./IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)