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.001263/0.001263, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001262/0.001262, allocations: 197.9 kB / 16.26 MB, free: 6.629 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.358/1.358, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9392/0.9392, allocations: 135.6 MB / 425.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 73.94 kB / 0.5054 GB, free: 5.18 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1758, allocations: 81.02 MB / 0.5845 GB, free: 4.305 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 0.418/0.5939, allocations: 164.6 MB / 0.7453 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02313/0.617, allocations: 16.93 MB / 0.7618 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001935/0.619, allocations: 31.81 kB / 0.7618 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001842/0.6209, allocations: 453.3 kB / 0.7623 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005379/0.6263, allocations: 1.496 MB / 0.7637 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003793/0.6301, allocations: 1.25 MB / 0.7649 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003618/0.6337, allocations: 2.533 MB / 0.7674 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00288/0.6366, allocations: 1.945 MB / 0.7693 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00578/0.6424, allocations: 1.348 MB / 0.7706 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001708/0.6441, allocations: 1.068 MB / 0.7717 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004011/0.6446, allocations: 211.9 kB / 0.7719 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003306/0.6479, allocations: 1.544 MB / 0.7734 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0008061/0.6487, allocations: 0.7712 MB / 0.7741 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001327/0.65, allocations: 1.127 MB / 0.7752 GB, free: 9.137 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004903/0.6549, allocations: 3.396 MB / 0.7785 GB, free: 5.73 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.655, allocations: 0 / 0.7785 GB, free: 5.73 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.724e-06/0.655, allocations: 0 / 0.7785 GB, free: 5.73 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.455e-05/0.655, allocations: 0 / 0.7785 GB, free: 5.73 MB / 0.5919 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.005906/0.6609, allocations: 2.613 MB / 0.7811 GB, free: 3.055 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.661, allocations: 15.95 kB / 0.7811 GB, free: 3.039 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003992/0.665, allocations: 0.5435 MB / 0.7816 GB, free: 2.492 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003173/0.6682, allocations: 1.56 MB / 0.7832 GB, free: 0.8789 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001299/0.6684, allocations: 127.3 kB / 0.7833 GB, free: 0.7539 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002474/0.6686, allocations: 164 kB / 0.7834 GB, free: 0.5938 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003799/0.6724, allocations: 1.876 MB / 0.7853 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.286e-05/0.6725, allocations: 0 / 0.7853 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001667/0.6727, allocations: 83.92 kB / 0.7854 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.748e-05/0.6727, allocations: 40 kB / 0.7854 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003627/0.6763, allocations: 2.042 MB / 0.7874 GB, free: 12.5 MB / 0.6075 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.009985/0.6863, allocations: 5.547 MB / 0.7928 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003376/0.6898, allocations: 2.004 MB / 0.7948 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001276/0.6911, allocations: 0.7271 MB / 0.7955 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006899/0.6918, allocations: 429.7 kB / 0.7959 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001786/0.6936, allocations: 0.9412 MB / 0.7968 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=137): time 3.516e-06/0.6936, allocations: 0 / 0.7968 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of matching and sorting (n=137): time 0.00685/0.7004, allocations: 2.821 MB / 0.7996 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001627/0.7006, allocations: 209.2 kB / 0.7998 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002588/0.7032, allocations: 1.734 MB / 0.8015 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002439/0.7035, allocations: 53.7 kB / 0.8015 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000834/0.7043, allocations: 0.8112 MB / 0.8023 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004988/0.7048, allocations: 457.3 kB / 0.8027 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004201/0.7053, allocations: 250.7 kB / 0.803 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001909/0.7055, allocations: 345.9 kB / 0.8033 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001098/0.7066, allocations: 0.5647 MB / 0.8039 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001336/0.7079, allocations: 0.7662 MB / 0.8046 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002306/0.7102, allocations: 1.275 MB / 0.8058 GB, free: 8.906 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.7102, allocations: 0 / 0.8058 GB, free: 8.906 MB / 0.6231 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.004068/0.7143, allocations: 1.721 MB / 0.8075 GB, free: 7.16 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.7144, allocations: 8 kB / 0.8075 GB, free: 7.152 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.7144, allocations: 96 / 0.8075 GB, free: 7.152 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001175/0.7156, allocations: 220.1 kB / 0.8077 GB, free: 6.922 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001472/0.717, allocations: 315.6 kB / 0.808 GB, free: 6.613 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006917/0.724, allocations: 7.315 MB / 0.8152 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001651/0.7257, allocations: 163 kB / 0.8153 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001256/0.7258, allocations: 47.97 kB / 0.8154 GB, free: 14.38 MB / 0.6387 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.001011/0.7268, allocations: 486.8 kB / 0.8159 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003899/0.7272, allocations: 169.9 kB / 0.816 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004409/0.7316, allocations: 2.026 MB / 0.818 GB, free: 11.67 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/0.7317, allocations: 12 kB / 0.818 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.918e-06/0.7317, allocations: 8 kB / 0.818 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.428e-05/0.7317, allocations: 7.969 kB / 0.818 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006723/0.7384, allocations: 3.79 MB / 0.8217 GB, free: 7.777 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.7385, allocations: 0 / 0.8217 GB, free: 7.777 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001446/0.7399, allocations: 319.6 kB / 0.822 GB, free: 7.465 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008923/0.7408, allocations: 200.1 kB / 0.8222 GB, free: 7.254 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.563e-05/0.7409, allocations: 43.95 kB / 0.8223 GB, free: 7.211 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006624/0.7476, allocations: 7.341 MB / 0.8294 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.7476, allocations: 0 / 0.8294 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004112/0.7517, allocations: 1.892 MB / 0.8313 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008507/0.7526, allocations: 454.5 kB / 0.8317 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002196/0.7528, allocations: 35.94 kB / 0.8317 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001183/0.754, allocations: 116.1 kB / 0.8319 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00023/0.7542, allocations: 101.2 kB / 0.832 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001411/0.7544, allocations: 63.95 kB / 0.832 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001665/0.756, allocations: 1.248 MB / 0.8332 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7561, allocations: 0 / 0.8332 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001665/0.7577, allocations: 0.6352 MB / 0.8339 GB, free: 10.59 MB / 0.6544 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.002295/0.76, allocations: 0.7545 MB / 0.8346 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.005537/0.7656, allocations: 2.411 MB / 0.8369 GB, free: 7.566 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/0.7656, allocations: 4.797 kB / 0.8369 GB, free: 7.562 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002154/0.7678, allocations: 1.375 MB / 0.8383 GB, free: 6.125 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002415/0.7702, allocations: 0.5166 MB / 0.8388 GB, free: 5.629 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007753/0.7779, allocations: 4.55 MB / 0.8432 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001296/0.7793, allocations: 1.507 MB / 0.8447 GB, free: 15.51 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001861/0.7811, allocations: 496.2 kB / 0.8452 GB, free: 15.02 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004523/0.7816, allocations: 167.4 kB / 0.8453 GB, free: 14.86 MB / 0.67 GB Notification: Performance of SimCode: time 5.61e-07/0.7816, allocations: 0 / 0.8453 GB, free: 14.86 MB / 0.67 GB Notification: Performance of Templates: time 0.3066/1.088, allocations: 29.81 MB / 0.8745 GB, free: 214.5 MB / 0.67 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)