Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.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.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006122/0.006122, allocations: 102.8 kB / 15.73 MB, free: 5.992 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.001415/0.001416, allocations: 193.2 kB / 16.67 MB, free: 5.914 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7995/0.7995, allocations: 132.2 MB / 422.7 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 67.66 kB / 0.5813 GB, free: 23.92 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1912/0.1928, allocations: 80.21 MB / 0.6597 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.6904/0.8832, allocations: 175.8 MB / 0.8313 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0189/0.9022, allocations: 12.65 MB / 0.8437 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001825/0.904, allocations: 34.47 kB / 0.8437 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001539/0.9056, allocations: 451.4 kB / 0.8441 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003757/0.9094, allocations: 0.9538 MB / 0.8451 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.005291/0.9147, allocations: 1.838 MB / 0.8469 GB, free: 2.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003786/0.9185, allocations: 2.291 MB / 0.8491 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002312/0.9208, allocations: 1.584 MB / 0.8507 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004119/0.925, allocations: 1.406 MB / 0.852 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001188/0.9262, allocations: 0.8155 MB / 0.8528 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002178/0.9264, allocations: 160.8 kB / 0.853 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002975/0.9294, allocations: 1.406 MB / 0.8544 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004658/0.9299, allocations: 469 kB / 0.8548 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0008555/0.9307, allocations: 0.7974 MB / 0.8556 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003882/0.9346, allocations: 2.635 MB / 0.8582 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.9346, allocations: 4 kB / 0.8582 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.923e-06/0.9347, allocations: 4 kB / 0.8582 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.294e-05/0.9347, allocations: 0 / 0.8582 GB, free: 10.7 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.003259/0.938, allocations: 1.895 MB / 0.86 GB, free: 8.742 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.938, allocations: 8.031 kB / 0.86 GB, free: 8.734 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00276/0.9408, allocations: 405.5 kB / 0.8604 GB, free: 8.336 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001775/0.9426, allocations: 0.9918 MB / 0.8614 GB, free: 7.301 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.992e-05/0.9427, allocations: 98.62 kB / 0.8615 GB, free: 7.203 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001638/0.9428, allocations: 128 kB / 0.8616 GB, free: 7.078 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002542/0.9454, allocations: 1.453 MB / 0.863 GB, free: 5.547 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.756e-05/0.9454, allocations: 3.938 kB / 0.863 GB, free: 5.543 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001289/0.9455, allocations: 59.98 kB / 0.8631 GB, free: 5.484 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.499e-05/0.9456, allocations: 32 kB / 0.8631 GB, free: 5.453 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002648/0.9482, allocations: 1.532 MB / 0.8646 GB, free: 3.914 MB / 0.6231 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.006942/0.9552, allocations: 4.879 MB / 0.8694 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002479/0.9577, allocations: 1.425 MB / 0.8708 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008256/0.9585, allocations: 455.6 kB / 0.8712 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007856/0.9593, allocations: 425.4 kB / 0.8716 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001188/0.9605, allocations: 0.6177 MB / 0.8722 GB, free: 11.69 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=98): time 3.156e-06/0.9605, allocations: 0 / 0.8722 GB, free: 11.69 MB / 0.6387 GB Notification: Performance of matching and sorting (n=98): time 0.004217/0.9648, allocations: 1.528 MB / 0.8737 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/0.9649, allocations: 204.9 kB / 0.8739 GB, free: 9.895 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001247/0.9662, allocations: 0.8464 MB / 0.8747 GB, free: 9.023 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001189/0.9663, allocations: 49.7 kB / 0.8748 GB, free: 8.969 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005217/0.9668, allocations: 0.57 MB / 0.8753 GB, free: 8.391 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003073/0.9671, allocations: 331.2 kB / 0.8756 GB, free: 8.062 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003154/0.9675, allocations: 202.4 kB / 0.8758 GB, free: 7.859 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.9676, allocations: 341.9 kB / 0.8761 GB, free: 7.52 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007629/0.9684, allocations: 369.8 kB / 0.8765 GB, free: 7.156 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009386/0.9693, allocations: 0.5208 MB / 0.877 GB, free: 6.582 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001722/0.9711, allocations: 0.9019 MB / 0.8779 GB, free: 5.637 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.9711, allocations: 0 / 0.8779 GB, free: 5.637 MB / 0.6387 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002807/0.9739, allocations: 1.149 MB / 0.879 GB, free: 4.48 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/0.9739, allocations: 7.984 kB / 0.879 GB, free: 4.473 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.9739, allocations: 15.81 kB / 0.879 GB, free: 4.457 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006224/0.9746, allocations: 89.12 kB / 0.8791 GB, free: 4.367 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/0.9757, allocations: 239.7 kB / 0.8793 GB, free: 4.133 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002258/0.9779, allocations: 1.645 MB / 0.881 GB, free: 2.344 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/0.9792, allocations: 127 kB / 0.8811 GB, free: 2.219 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001377/0.9793, allocations: 47.97 kB / 0.8811 GB, free: 2.172 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (119): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007983/0.9802, allocations: 338.2 kB / 0.8814 GB, free: 1.832 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003615/0.9805, allocations: 114.7 kB / 0.8816 GB, free: 1.719 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00321/0.9837, allocations: 1.318 MB / 0.8828 GB, free: 404 kB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/0.9838, allocations: 15.94 kB / 0.8829 GB, free: 388 kB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.9838, allocations: 3.938 kB / 0.8829 GB, free: 384 kB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.447e-05/0.9838, allocations: 7.969 kB / 0.8829 GB, free: 376 kB / 0.6387 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 postOpt removeSimpleEquations (simulation): time 0.004933/0.9887, allocations: 2.681 MB / 0.8855 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.9888, allocations: 0 / 0.8855 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009885/0.9897, allocations: 215.8 kB / 0.8857 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004583/0.9902, allocations: 72.72 kB / 0.8858 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.54e-05/0.9903, allocations: 31.97 kB / 0.8858 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002021/0.9923, allocations: 1.674 MB / 0.8874 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.9924, allocations: 8.016 kB / 0.8874 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002663/0.995, allocations: 1.224 MB / 0.8886 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000608/0.9957, allocations: 339.2 kB / 0.889 GB, free: 9.859 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002238/0.9959, allocations: 20 kB / 0.889 GB, free: 9.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009455/0.9968, allocations: 69.97 kB / 0.889 GB, free: 9.773 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001781/0.997, allocations: 76.83 kB / 0.8891 GB, free: 9.699 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001159/0.9972, allocations: 47.97 kB / 0.8892 GB, free: 9.652 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001063/0.9982, allocations: 0.5863 MB / 0.8897 GB, free: 9.055 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9982, allocations: 0 / 0.8897 GB, free: 9.055 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001555/0.9998, allocations: 462.9 kB / 0.8902 GB, free: 8.602 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 (109): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001968/1.002, allocations: 0.7004 MB / 0.8909 GB, free: 8.117 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002401/1.004, allocations: 1.074 MB / 0.8919 GB, free: 7.027 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/1.004, allocations: 7.875 kB / 0.8919 GB, free: 7.02 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001256/1.005, allocations: 0.6331 MB / 0.8925 GB, free: 6.375 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00243/1.008, allocations: 0.516 MB / 0.893 GB, free: 5.891 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005772/1.014, allocations: 2.321 MB / 0.8953 GB, free: 3.543 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009803/1.015, allocations: 1.178 MB / 0.8965 GB, free: 2.332 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001539/1.016, allocations: 373.3 kB / 0.8968 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004362/1.017, allocations: 127.4 kB / 0.8969 GB, free: 1.84 MB / 0.6544 GB Notification: Performance of SimCode: time 1.072e-06/1.017, allocations: 0 / 0.8969 GB, free: 1.84 MB / 0.6544 GB Notification: Performance of Templates: time 0.04103/1.058, allocations: 23.06 MB / 0.9195 GB, free: 11 MB / 0.6856 GB make -j1 -f IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)