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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007969/0.0007967, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008746/0.0008747, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 223.3 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7373/0.7373, allocations: 132.4 MB / 423.4 MB, free: 2.051 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002978/0.0002979, allocations: 11.98 kB / 0.5034 GB, free: 4.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3433, allocations: 81.57 MB / 0.5831 GB, free: 3.973 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 0.1506/0.494, allocations: 151.5 MB / 0.731 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01822/0.5122, allocations: 15.85 MB / 0.7465 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001041/0.5133, allocations: 27.81 kB / 0.7465 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001259/0.5146, allocations: 369.4 kB / 0.7469 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00355/0.5181, allocations: 1.289 MB / 0.7482 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002839/0.521, allocations: 1.083 MB / 0.7492 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00271/0.5237, allocations: 2.446 MB / 0.7516 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002129/0.5259, allocations: 1.456 MB / 0.753 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001808/0.5277, allocations: 0.961 MB / 0.754 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001199/0.5289, allocations: 0.7931 MB / 0.7547 GB, free: 348 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002574/0.5292, allocations: 44 kB / 0.7548 GB, free: 304 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002483/0.5316, allocations: 1.014 MB / 0.7558 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007339/0.5324, allocations: 0.5606 MB / 0.7563 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006439/0.533, allocations: 388.5 kB / 0.7567 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002686/0.5357, allocations: 2.431 MB / 0.7591 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.5357, allocations: 0 / 0.7591 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5358, allocations: 4 kB / 0.7591 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.623e-05/0.5358, allocations: 0 / 0.7591 GB, free: 11.89 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.003733/0.5396, allocations: 2.198 MB / 0.7612 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.5396, allocations: 11.97 kB / 0.7612 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003492/0.5431, allocations: 0.5553 MB / 0.7618 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002361/0.5455, allocations: 1.495 MB / 0.7632 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001082/0.5456, allocations: 127.3 kB / 0.7633 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000257/0.5459, allocations: 160 kB / 0.7635 GB, free: 7.23 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003368/0.5493, allocations: 1.869 MB / 0.7653 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.994e-05/0.5493, allocations: 0 / 0.7653 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001683/0.5495, allocations: 79.94 kB / 0.7654 GB, free: 5.23 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.265e-05/0.5495, allocations: 40 kB / 0.7654 GB, free: 5.191 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003403/0.5529, allocations: 2.03 MB / 0.7674 GB, free: 3.156 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.007842/0.5608, allocations: 5.585 MB / 0.7729 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002917/0.5637, allocations: 2 MB / 0.7748 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001143/0.5649, allocations: 0.7264 MB / 0.7755 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005153/0.5654, allocations: 433.7 kB / 0.776 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001494/0.5669, allocations: 0.9309 MB / 0.7769 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=137): time 2.985e-06/0.5669, allocations: 0 / 0.7769 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of matching and sorting (n=137): time 0.005881/0.5728, allocations: 2.84 MB / 0.7796 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.627e-05/0.5729, allocations: 193.2 kB / 0.7798 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002081/0.575, allocations: 1.734 MB / 0.7815 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001196/0.5751, allocations: 53.7 kB / 0.7816 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000623/0.5758, allocations: 0.8073 MB / 0.7824 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.00035/0.5761, allocations: 465.2 kB / 0.7828 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.575e-05/0.5762, allocations: 20 kB / 0.7828 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.5763, allocations: 349.9 kB / 0.7832 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001024/0.5774, allocations: 0.5608 MB / 0.7837 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0012/0.5786, allocations: 0.7623 MB / 0.7844 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/0.5797, allocations: 0.6388 MB / 0.7851 GB, free: 416 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.5797, allocations: 0 / 0.7851 GB, free: 416 kB / 0.6075 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003391/0.5831, allocations: 1.733 MB / 0.7868 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.5832, allocations: 7.938 kB / 0.7868 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.5832, allocations: 0 / 0.7868 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009787/0.5842, allocations: 212.2 kB / 0.787 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001477/0.5856, allocations: 323.6 kB / 0.7873 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005193/0.5908, allocations: 6.803 MB / 0.7939 GB, free: 6.625 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/0.5921, allocations: 168.7 kB / 0.7941 GB, free: 6.461 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/0.5922, allocations: 55.95 kB / 0.7941 GB, free: 6.406 MB / 0.6231 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 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0007786/0.593, allocations: 462 kB / 0.7946 GB, free: 5.945 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002637/0.5933, allocations: 174 kB / 0.7947 GB, free: 5.773 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004173/0.5975, allocations: 2.038 MB / 0.7967 GB, free: 3.703 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/0.5975, allocations: 16 kB / 0.7967 GB, free: 3.688 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.5975, allocations: 4 kB / 0.7968 GB, free: 3.684 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.401e-05/0.5975, allocations: 11.91 kB / 0.7968 GB, free: 3.672 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005959/0.6035, allocations: 3.792 MB / 0.8005 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.6035, allocations: 0 / 0.8005 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001419/0.6049, allocations: 311.6 kB / 0.8008 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008822/0.6058, allocations: 220 kB / 0.801 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.299e-05/0.6059, allocations: 35.97 kB / 0.801 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004995/0.6109, allocations: 6.833 MB / 0.8077 GB, free: 7.727 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.611, allocations: 0 / 0.8077 GB, free: 7.727 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003417/0.6144, allocations: 1.892 MB / 0.8095 GB, free: 5.801 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006996/0.6151, allocations: 466.4 kB / 0.81 GB, free: 5.324 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002271/0.6153, allocations: 27.95 kB / 0.81 GB, free: 5.297 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/0.6165, allocations: 127.7 kB / 0.8101 GB, free: 5.172 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001761/0.6167, allocations: 109.1 kB / 0.8102 GB, free: 5.066 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001413/0.6168, allocations: 63.95 kB / 0.8103 GB, free: 5.004 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001594/0.6184, allocations: 1.233 MB / 0.8115 GB, free: 3.773 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6184, allocations: 0 / 0.8115 GB, free: 3.773 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001623/0.6201, allocations: 0.6352 MB / 0.8121 GB, free: 3.137 MB / 0.6387 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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001771/0.6218, allocations: 0.745 MB / 0.8128 GB, free: 2.605 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003083/0.6249, allocations: 1.992 MB / 0.8148 GB, free: 0.5469 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.912e-06/0.625, allocations: 8.797 kB / 0.8148 GB, free: 0.5391 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.2378/0.8628, allocations: 1.365 MB / 0.8161 GB, free: 213.9 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002387/0.8652, allocations: 483.1 kB / 0.8166 GB, free: 213.9 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006788/0.872, allocations: 4.467 MB / 0.8209 GB, free: 212 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001125/0.8732, allocations: 1.506 MB / 0.8224 GB, free: 211.3 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00198/0.8752, allocations: 0.5014 MB / 0.8229 GB, free: 211.3 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004739/0.8756, allocations: 166.4 kB / 0.8231 GB, free: 211.2 MB / 0.6387 GB Notification: Performance of SimCode: time 8.01e-07/0.8756, allocations: 0 / 0.8231 GB, free: 211.2 MB / 0.6387 GB Notification: Performance of Templates: time 0.03849/0.9141, allocations: 27.73 MB / 0.8501 GB, free: 198.5 MB / 0.6387 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)