Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.006513/0.006513, allocations: 102 kB / 15.73 MB, free: 6.055 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.001241/0.001241, allocations: 191.5 kB / 16.67 MB, free: 5.965 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.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8245/0.8245, allocations: 135.1 MB / 425.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 62.72 kB / 0.5856 GB, free: 21.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1493, allocations: 80.92 MB / 0.6646 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.5749/0.7243, allocations: 175.8 MB / 0.8363 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0185/0.7428, allocations: 12.64 MB / 0.8487 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001642/0.7445, allocations: 32.03 kB / 0.8487 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001643/0.7462, allocations: 451.3 kB / 0.8491 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003554/0.7498, allocations: 0.945 MB / 0.85 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005002/0.7548, allocations: 1.842 MB / 0.8518 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003008/0.7578, allocations: 2.284 MB / 0.8541 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00243/0.7603, allocations: 1.587 MB / 0.8556 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003945/0.7642, allocations: 1.406 MB / 0.857 GB, free: 9.242 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001203/0.7654, allocations: 0.8081 MB / 0.8578 GB, free: 8.691 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003424/0.7658, allocations: 158.7 kB / 0.8579 GB, free: 8.691 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003103/0.7689, allocations: 1.414 MB / 0.8593 GB, free: 7.926 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005418/0.7694, allocations: 462.6 kB / 0.8598 GB, free: 7.473 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001083/0.7705, allocations: 0.8007 MB / 0.8605 GB, free: 6.668 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003953/0.7745, allocations: 2.636 MB / 0.8631 GB, free: 4.027 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.7745, allocations: 0 / 0.8631 GB, free: 4.027 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.333e-06/0.7745, allocations: 4 kB / 0.8631 GB, free: 4.023 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.127e-05/0.7746, allocations: 0 / 0.8631 GB, free: 4.023 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.003957/0.7786, allocations: 1.903 MB / 0.865 GB, free: 2.062 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.7786, allocations: 9.109 kB / 0.865 GB, free: 2.055 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002755/0.7814, allocations: 401.6 kB / 0.8654 GB, free: 1.66 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001765/0.7831, allocations: 0.9918 MB / 0.8663 GB, free: 0.625 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.866e-05/0.7832, allocations: 98.62 kB / 0.8664 GB, free: 0.5273 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001995/0.7834, allocations: 124 kB / 0.8666 GB, free: 416 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00259/0.786, allocations: 1.46 MB / 0.868 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.965e-05/0.7861, allocations: 4 kB / 0.868 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001332/0.7862, allocations: 56 kB / 0.868 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.77e-05/0.7863, allocations: 32 kB / 0.8681 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002718/0.789, allocations: 1.54 MB / 0.8696 GB, free: 13.23 MB / 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 preOpt removeSimpleEquations (simulation): time 0.00713/0.7961, allocations: 4.864 MB / 0.8743 GB, free: 8.105 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002443/0.7986, allocations: 1.424 MB / 0.8757 GB, free: 6.598 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007931/0.7994, allocations: 452.6 kB / 0.8761 GB, free: 6.156 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007792/0.8002, allocations: 433.3 kB / 0.8766 GB, free: 5.656 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001128/0.8013, allocations: 0.6209 MB / 0.8772 GB, free: 5.02 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=98): time 3.156e-06/0.8013, allocations: 0 / 0.8772 GB, free: 5.02 MB / 0.6387 GB Notification: Performance of matching and sorting (n=98): time 0.003994/0.8053, allocations: 1.52 MB / 0.8786 GB, free: 3.473 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/0.8055, allocations: 200.9 kB / 0.8788 GB, free: 3.234 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001157/0.8066, allocations: 0.8542 MB / 0.8797 GB, free: 2.355 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001007/0.8067, allocations: 49.7 kB / 0.8797 GB, free: 2.301 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004943/0.8072, allocations: 0.5661 MB / 0.8803 GB, free: 1.727 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003046/0.8076, allocations: 327.2 kB / 0.8806 GB, free: 1.402 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003396/0.8079, allocations: 202.5 kB / 0.8808 GB, free: 1.199 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.8081, allocations: 338 kB / 0.8811 GB, free: 0.8633 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007355/0.8088, allocations: 369.8 kB / 0.8815 GB, free: 0.5 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008982/0.8097, allocations: 0.5286 MB / 0.882 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001667/0.8114, allocations: 0.898 MB / 0.8828 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.8114, allocations: 7.938 kB / 0.8829 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002578/0.814, allocations: 1.153 MB / 0.884 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.814, allocations: 11.94 kB / 0.884 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.814, allocations: 7.938 kB / 0.884 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005848/0.8146, allocations: 85.17 kB / 0.8841 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/0.8157, allocations: 243.7 kB / 0.8843 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002132/0.8179, allocations: 1.639 MB / 0.8859 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000912/0.8188, allocations: 125.3 kB / 0.886 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/0.8189, allocations: 55.97 kB / 0.8861 GB, free: 11.51 MB / 0.6544 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.0005152/0.8194, allocations: 325.5 kB / 0.8864 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002417/0.8197, allocations: 118.6 kB / 0.8865 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00289/0.8226, allocations: 1.334 MB / 0.8878 GB, free: 9.719 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.8226, allocations: 11.94 kB / 0.8878 GB, free: 9.707 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.8226, allocations: 0 / 0.8878 GB, free: 9.707 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.8226, allocations: 3.984 kB / 0.8878 GB, free: 9.703 MB / 0.6544 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.004449/0.8271, allocations: 2.692 MB / 0.8905 GB, free: 6.926 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.8271, allocations: 0 / 0.8905 GB, free: 6.926 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009626/0.8281, allocations: 215.7 kB / 0.8907 GB, free: 6.715 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004493/0.8285, allocations: 72.78 kB / 0.8907 GB, free: 6.641 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.614e-05/0.8286, allocations: 31.98 kB / 0.8908 GB, free: 6.609 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002072/0.8307, allocations: 1.677 MB / 0.8924 GB, free: 4.781 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.8307, allocations: 0 / 0.8924 GB, free: 4.781 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00295/0.8337, allocations: 1.232 MB / 0.8936 GB, free: 3.527 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006692/0.8344, allocations: 339.2 kB / 0.8939 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002608/0.8346, allocations: 16 kB / 0.8939 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000999/0.8356, allocations: 73.42 kB / 0.894 GB, free: 3.09 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001928/0.8359, allocations: 76.89 kB / 0.8941 GB, free: 3.016 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001237/0.836, allocations: 43.97 kB / 0.8941 GB, free: 2.973 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009178/0.8369, allocations: 0.5863 MB / 0.8947 GB, free: 2.375 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8369, allocations: 4 kB / 0.8947 GB, free: 2.371 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001342/0.8383, allocations: 458.9 kB / 0.8951 GB, free: 1.922 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.00178/0.8401, allocations: 0.6988 MB / 0.8958 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002453/0.8425, allocations: 1.07 MB / 0.8969 GB, free: 328 kB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/0.8426, allocations: 3.906 kB / 0.8969 GB, free: 324 kB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001272/0.8438, allocations: 0.6371 MB / 0.8975 GB, free: 15.66 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002195/0.846, allocations: 0.5137 MB / 0.898 GB, free: 15.17 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004917/0.851, allocations: 2.326 MB / 0.9003 GB, free: 12.82 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008514/0.8518, allocations: 1.178 MB / 0.9014 GB, free: 11.61 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001273/0.8531, allocations: 369.3 kB / 0.9018 GB, free: 11.24 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003625/0.8535, allocations: 131.4 kB / 0.9019 GB, free: 11.11 MB / 0.67 GB Notification: Performance of SimCode: time 7.32e-07/0.8535, allocations: 0 / 0.9019 GB, free: 11.11 MB / 0.67 GB Notification: Performance of Templates: time 0.03797/0.8915, allocations: 23.07 MB / 0.9244 GB, free: 4.281 MB / 0.6856 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)