Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData") translateModel(IDEAS.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 112.6 kB / 16.37 MB, free: 6 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.001076/0.001076, allocations: 196 kB / 17.31 MB, free: 5.613 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.315/1.315, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.771/0.771, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 59.91 kB / 0.5068 GB, free: 7.652 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.3572, allocations: 80.9 MB / 0.5858 GB, free: 25.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 0.1622/0.5194, allocations: 166.9 MB / 0.7488 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4169/0.9363, allocations: 17.09 MB / 0.7655 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001857/0.9382, allocations: 29.5 kB / 0.7655 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001725/0.94, allocations: 0.526 MB / 0.766 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005502/0.9455, allocations: 1.635 MB / 0.7676 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004136/0.9497, allocations: 1.392 MB / 0.769 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004491/0.9542, allocations: 2.528 MB / 0.7714 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002806/0.957, allocations: 1.946 MB / 0.7733 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0039/0.9609, allocations: 1.352 MB / 0.7747 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00194/0.9629, allocations: 1.028 MB / 0.7757 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005411/0.9634, allocations: 208.5 kB / 0.7759 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004141/0.9676, allocations: 1.545 MB / 0.7774 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008369/0.9684, allocations: 0.7618 MB / 0.7781 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001539/0.97, allocations: 1.127 MB / 0.7792 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005922/0.9759, allocations: 3.4 MB / 0.7825 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.9759, allocations: 3.031 kB / 0.7825 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.154e-06/0.976, allocations: 0.6875 kB / 0.7825 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.815e-05/0.976, allocations: 0 / 0.7825 GB, free: 0.6758 MB / 0.5762 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.005375/0.9814, allocations: 2.611 MB / 0.7851 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.094e-05/0.9815, allocations: 11.8 kB / 0.7851 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003667/0.9852, allocations: 0.5499 MB / 0.7856 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002672/0.9878, allocations: 1.596 MB / 0.7872 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.651e-05/0.9879, allocations: 128.4 kB / 0.7873 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000207/0.9882, allocations: 160.6 kB / 0.7875 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002995/0.9912, allocations: 1.876 MB / 0.7893 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.958e-05/0.9912, allocations: 0 / 0.7893 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001487/0.9914, allocations: 70.06 kB / 0.7894 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.061e-05/0.9914, allocations: 39.5 kB / 0.7894 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003246/0.9947, allocations: 2.042 MB / 0.7914 GB, free: 14.61 MB / 0.5919 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.008734/1.003, allocations: 5.516 MB / 0.7968 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002796/1.006, allocations: 2.003 MB / 0.7987 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001094/1.007, allocations: 0.7332 MB / 0.7995 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006042/1.008, allocations: 432.6 kB / 0.7999 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001608/1.01, allocations: 0.9333 MB / 0.8008 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=137): time 2.615e-06/1.01, allocations: 0 / 0.8008 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of matching and sorting (n=137): time 0.006291/1.016, allocations: 2.825 MB / 0.8035 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001283/1.016, allocations: 194.5 kB / 0.8037 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002574/1.019, allocations: 1.739 MB / 0.8054 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002835/1.019, allocations: 54.02 kB / 0.8055 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000713/1.02, allocations: 0.8147 MB / 0.8063 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004475/1.02, allocations: 457.2 kB / 0.8067 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003802/1.021, allocations: 242.2 kB / 0.8069 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001668/1.021, allocations: 356.9 kB / 0.8073 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009665/1.022, allocations: 0.5571 MB / 0.8078 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001173/1.023, allocations: 0.7614 MB / 0.8086 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002075/1.025, allocations: 1.279 MB / 0.8098 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/1.025, allocations: 0 / 0.8098 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003548/1.029, allocations: 1.726 MB / 0.8115 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/1.029, allocations: 5.75 kB / 0.8115 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/1.029, allocations: 6.438 kB / 0.8115 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001027/1.03, allocations: 221.3 kB / 0.8117 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001424/1.031, allocations: 314.8 kB / 0.812 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00612/1.037, allocations: 7.319 MB / 0.8192 GB, free: 2.277 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001841/1.039, allocations: 142 kB / 0.8193 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001812/1.039, allocations: 57.89 kB / 0.8194 GB, free: 2.172 MB / 0.5919 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.001129/1.04, allocations: 482.8 kB / 0.8198 GB, free: 1.863 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004759/1.041, allocations: 170.4 kB / 0.82 GB, free: 1.777 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004176/1.045, allocations: 2.023 MB / 0.822 GB, free: 0.7109 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.387e-05/1.045, allocations: 14.44 kB / 0.822 GB, free: 0.7109 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/1.045, allocations: 2.75 kB / 0.822 GB, free: 0.7109 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-05/1.045, allocations: 7.969 kB / 0.822 GB, free: 0.7031 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007006/1.052, allocations: 3.796 MB / 0.8257 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/1.052, allocations: 0 / 0.8257 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001416/1.054, allocations: 310.8 kB / 0.826 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000896/1.054, allocations: 206.3 kB / 0.8262 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/1.055, allocations: 39.97 kB / 0.8262 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005874/1.06, allocations: 7.339 MB / 0.8334 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.061, allocations: 0 / 0.8334 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003957/1.064, allocations: 1.896 MB / 0.8352 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001039/1.066, allocations: 450.4 kB / 0.8357 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002153/1.066, allocations: 31.94 kB / 0.8357 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/1.067, allocations: 98.72 kB / 0.8358 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002213/1.067, allocations: 101.2 kB / 0.8359 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001404/1.067, allocations: 67.05 kB / 0.836 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00165/1.069, allocations: 1.252 MB / 0.8372 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/1.069, allocations: 0 / 0.8372 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001722/1.071, allocations: 0.6313 MB / 0.8378 GB, free: 0.8672 MB / 0.6075 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.001636/1.072, allocations: 0.7494 MB / 0.8385 GB, free: 384 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003102/1.075, allocations: 2.003 MB / 0.8405 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/1.075, allocations: 0.7969 kB / 0.8405 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001851/1.077, allocations: 1.377 MB / 0.8418 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002094/1.079, allocations: 0.5139 MB / 0.8423 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006722/1.086, allocations: 3.693 MB / 0.8459 GB, free: 8.699 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001073/1.087, allocations: 1.501 MB / 0.8474 GB, free: 7.168 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001757/1.089, allocations: 0.4924 MB / 0.8479 GB, free: 6.672 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004353/1.089, allocations: 163.4 kB / 0.848 GB, free: 6.512 MB / 0.6231 GB Notification: Performance of SimCode: time 1.022e-06/1.089, allocations: 4 kB / 0.848 GB, free: 6.508 MB / 0.6231 GB Notification: Performance of Templates: time 0.05131/1.141, allocations: 29.89 MB / 0.8772 GB, free: 8.969 MB / 0.6544 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.sim & ./IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)