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.001109/0.00111, allocations: 106.2 kB / 16.35 MB, free: 5.824 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.00118/0.00118, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.403/1.403, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7991/0.7991, allocations: 132.2 MB / 423.3 MB, free: 6.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 63.91 kB / 0.5032 GB, free: 10.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4607/0.4621, allocations: 80.18 MB / 0.5815 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.5849/1.047, allocations: 175.8 MB / 0.7532 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01617/1.063, allocations: 12.63 MB / 0.7655 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001735/1.065, allocations: 32.59 kB / 0.7655 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001499/1.067, allocations: 436.6 kB / 0.766 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003534/1.07, allocations: 0.9323 MB / 0.7669 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00553/1.076, allocations: 1.822 MB / 0.7686 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003645/1.079, allocations: 2.282 MB / 0.7709 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003884/1.083, allocations: 1.586 MB / 0.7724 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005915/1.089, allocations: 1.36 MB / 0.7737 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001959/1.091, allocations: 0.8076 MB / 0.7745 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004374/1.092, allocations: 161.3 kB / 0.7747 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003978/1.096, allocations: 1.413 MB / 0.7761 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006015/1.096, allocations: 461.9 kB / 0.7765 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001235/1.098, allocations: 0.8022 MB / 0.7773 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004938/1.103, allocations: 2.633 MB / 0.7799 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/1.103, allocations: 0.9062 kB / 0.7799 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.575e-06/1.103, allocations: 0 / 0.7799 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.302e-05/1.103, allocations: 0.875 kB / 0.7799 GB, free: 0.9375 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: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.003855/1.106, allocations: 1.904 MB / 0.7817 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/1.107, allocations: 6.688 kB / 0.7817 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002556/1.109, allocations: 400.6 kB / 0.7821 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001685/1.111, allocations: 0.993 MB / 0.7831 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-05/1.111, allocations: 97.56 kB / 0.7832 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001686/1.111, allocations: 130 kB / 0.7833 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002278/1.113, allocations: 1.455 MB / 0.7847 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.632e-05/1.113, allocations: 3.094 kB / 0.7847 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001202/1.114, allocations: 62.33 kB / 0.7848 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.28e-05/1.114, allocations: 32.22 kB / 0.7848 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002442/1.116, allocations: 1.533 MB / 0.7863 GB, free: 15.29 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.006853/1.123, allocations: 4.874 MB / 0.7911 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002246/1.125, allocations: 1.416 MB / 0.7925 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008003/1.126, allocations: 460.5 kB / 0.7929 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007959/1.127, allocations: 425.1 kB / 0.7933 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001114/1.128, allocations: 0.6222 MB / 0.7939 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=98): time 2.475e-06/1.128, allocations: 0 / 0.7939 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of matching and sorting (n=98): time 0.003786/1.132, allocations: 1.532 MB / 0.7954 GB, free: 12 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001416/1.132, allocations: 195 kB / 0.7956 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001103/1.133, allocations: 0.8522 MB / 0.7964 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.225e-05/1.133, allocations: 46.61 kB / 0.7965 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004453/1.134, allocations: 0.5672 MB / 0.797 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000283/1.134, allocations: 329.9 kB / 0.7973 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002954/1.134, allocations: 201.7 kB / 0.7975 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001477/1.134, allocations: 346.5 kB / 0.7979 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006533/1.135, allocations: 364.5 kB / 0.7982 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008141/1.136, allocations: 0.5286 MB / 0.7987 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001649/1.137, allocations: 0.9028 MB / 0.7996 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/1.137, allocations: 7.344 kB / 0.7996 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002458/1.14, allocations: 1.152 MB / 0.8007 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/1.14, allocations: 9.531 kB / 0.8007 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/1.14, allocations: 2.906 kB / 0.8007 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005776/1.141, allocations: 90.22 kB / 0.8008 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/1.142, allocations: 238.8 kB / 0.8011 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002165/1.144, allocations: 1.645 MB / 0.8027 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009883/1.145, allocations: 120.9 kB / 0.8028 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.431e-05/1.145, allocations: 47 kB / 0.8028 GB, free: 8.969 MB / 0.5919 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.0006484/1.145, allocations: 336.8 kB / 0.8031 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002171/1.146, allocations: 119.2 kB / 0.8033 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002746/1.148, allocations: 1.325 MB / 0.8046 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/1.148, allocations: 10.59 kB / 0.8046 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/1.148, allocations: 4.844 kB / 0.8046 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/1.149, allocations: 5.578 kB / 0.8046 GB, free: 8.672 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 postOpt removeSimpleEquations (simulation): time 0.004175/1.153, allocations: 2.687 MB / 0.8072 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/1.153, allocations: 0.875 kB / 0.8072 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009124/1.154, allocations: 218.4 kB / 0.8074 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004361/1.154, allocations: 69.41 kB / 0.8075 GB, free: 8.16 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.938e-05/1.154, allocations: 35.27 kB / 0.8075 GB, free: 8.156 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00184/1.156, allocations: 1.675 MB / 0.8091 GB, free: 6.773 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/1.156, allocations: 3.188 kB / 0.8091 GB, free: 6.773 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002298/1.158, allocations: 1.223 MB / 0.8103 GB, free: 6.547 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005544/1.159, allocations: 343.5 kB / 0.8107 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001452/1.159, allocations: 19.78 kB / 0.8107 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008074/1.16, allocations: 73.89 kB / 0.8108 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/1.16, allocations: 71.48 kB / 0.8108 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.62e-05/1.16, allocations: 48.11 kB / 0.8109 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007273/1.161, allocations: 0.5854 MB / 0.8114 GB, free: 6.266 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.81e-07/1.161, allocations: 1.188 kB / 0.8114 GB, free: 6.266 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001199/1.162, allocations: 464.7 kB / 0.8119 GB, free: 6.188 MB / 0.5919 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.001583/1.164, allocations: 0.6937 MB / 0.8126 GB, free: 5.992 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002182/1.166, allocations: 1.074 MB / 0.8136 GB, free: 5.758 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/1.166, allocations: 1.281 kB / 0.8136 GB, free: 5.758 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001089/1.167, allocations: 0.6384 MB / 0.8142 GB, free: 5.496 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001883/1.169, allocations: 0.5082 MB / 0.8147 GB, free: 5.359 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004686/1.174, allocations: 2.32 MB / 0.817 GB, free: 4.273 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008448/1.174, allocations: 1.182 MB / 0.8182 GB, free: 3.531 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001292/1.176, allocations: 371.5 kB / 0.8185 GB, free: 3.406 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003656/1.176, allocations: 129.8 kB / 0.8186 GB, free: 3.371 MB / 0.5919 GB Notification: Performance of SimCode: time 8.21e-07/1.176, allocations: 1.281 kB / 0.8186 GB, free: 3.371 MB / 0.5919 GB Notification: Performance of Templates: time 0.04078/1.217, allocations: 22.87 MB / 0.841 GB, free: 14.9 MB / 0.6231 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)