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.001376/0.001376, allocations: 115.2 kB / 16.42 MB, free: 6.457 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.001516/0.001516, allocations: 183.9 kB / 17.35 MB, free: 5.734 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.322/1.322, allocations: 222.9 MB / 241.1 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.7786/0.7786, allocations: 132.2 MB / 423.4 MB, free: 6.52 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 65.67 kB / 0.582 GB, free: 23.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1343, allocations: 80.2 MB / 0.6603 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.5009/0.6352, allocations: 175.8 MB / 0.832 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01688/0.6522, allocations: 12.64 MB / 0.8444 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001229/0.6534, allocations: 32.62 kB / 0.8444 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001456/0.6549, allocations: 451.5 kB / 0.8448 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00306/0.658, allocations: 0.9554 MB / 0.8457 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004583/0.6626, allocations: 1.839 MB / 0.8475 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002859/0.6655, allocations: 2.285 MB / 0.8498 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002344/0.6678, allocations: 1.58 MB / 0.8513 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003528/0.6714, allocations: 1.406 MB / 0.8527 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009725/0.6724, allocations: 0.8122 MB / 0.8535 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001958/0.6726, allocations: 158.3 kB / 0.8536 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002749/0.6753, allocations: 1.412 MB / 0.855 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003873/0.6757, allocations: 465.2 kB / 0.8555 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007115/0.6765, allocations: 0.7985 MB / 0.8562 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003429/0.6799, allocations: 2.662 MB / 0.8588 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.6799, allocations: 0 / 0.8588 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6799, allocations: 0 / 0.8588 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.621e-05/0.6799, allocations: 0 / 0.8588 GB, free: 10.53 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.002867/0.6828, allocations: 1.947 MB / 0.8607 GB, free: 8.523 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.6829, allocations: 8.031 kB / 0.8607 GB, free: 8.516 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002614/0.6855, allocations: 414.5 kB / 0.8611 GB, free: 8.109 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001562/0.6871, allocations: 0.9887 MB / 0.8621 GB, free: 7.078 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.834e-05/0.6871, allocations: 98.62 kB / 0.8622 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001645/0.6873, allocations: 128 kB / 0.8623 GB, free: 6.855 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00241/0.6897, allocations: 1.463 MB / 0.8637 GB, free: 5.316 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/0.6898, allocations: 0 / 0.8637 GB, free: 5.316 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001235/0.6899, allocations: 56 kB / 0.8638 GB, free: 5.262 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.514e-05/0.6899, allocations: 32 kB / 0.8638 GB, free: 5.23 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002529/0.6925, allocations: 1.536 MB / 0.8653 GB, free: 3.688 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.006504/0.699, allocations: 4.897 MB / 0.8701 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00238/0.7014, allocations: 1.417 MB / 0.8715 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007918/0.7022, allocations: 455.6 kB / 0.8719 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007633/0.703, allocations: 425.4 kB / 0.8723 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001105/0.7041, allocations: 0.6255 MB / 0.8729 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=98): time 2.756e-06/0.7041, allocations: 0 / 0.8729 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of matching and sorting (n=98): time 0.003994/0.7081, allocations: 1.532 MB / 0.8744 GB, free: 9.891 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.997e-05/0.7082, allocations: 196.9 kB / 0.8746 GB, free: 9.656 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/0.7093, allocations: 0.8465 MB / 0.8755 GB, free: 8.785 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.544e-05/0.7094, allocations: 49.7 kB / 0.8755 GB, free: 8.73 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004201/0.7098, allocations: 0.5789 MB / 0.8761 GB, free: 8.145 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002427/0.71, allocations: 349 kB / 0.8764 GB, free: 7.801 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003027/0.7103, allocations: 202.5 kB / 0.8766 GB, free: 7.598 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.7105, allocations: 349.8 kB / 0.8769 GB, free: 7.25 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007477/0.7112, allocations: 369.8 kB / 0.8773 GB, free: 6.887 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009084/0.7121, allocations: 0.5247 MB / 0.8778 GB, free: 6.309 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001654/0.7138, allocations: 0.9019 MB / 0.8787 GB, free: 5.363 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.339e-06/0.7138, allocations: 4 kB / 0.8787 GB, free: 5.359 MB / 0.6387 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002562/0.7164, allocations: 1.154 MB / 0.8798 GB, free: 4.199 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.7164, allocations: 4 kB / 0.8798 GB, free: 4.195 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.7164, allocations: 8 kB / 0.8798 GB, free: 4.188 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006406/0.7171, allocations: 84.72 kB / 0.8799 GB, free: 4.102 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/0.7182, allocations: 247.6 kB / 0.8801 GB, free: 3.859 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002135/0.7203, allocations: 1.658 MB / 0.8818 GB, free: 2.059 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009641/0.7213, allocations: 121.2 kB / 0.8819 GB, free: 1.941 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.106e-05/0.7214, allocations: 47.97 kB / 0.8819 GB, free: 1.895 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.0005676/0.722, allocations: 338.3 kB / 0.8822 GB, free: 1.555 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002184/0.7222, allocations: 119.4 kB / 0.8824 GB, free: 1.438 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00296/0.7252, allocations: 1.33 MB / 0.8837 GB, free: 104 kB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.395e-05/0.7252, allocations: 11.91 kB / 0.8837 GB, free: 92 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.7252, allocations: 0 / 0.8837 GB, free: 92 kB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004629/0.7257, allocations: 339.9 kB / 0.884 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001596/0.7258, allocations: 23.98 kB / 0.884 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007964/0.7267, allocations: 67.94 kB / 0.8841 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001704/0.7268, allocations: 72.89 kB / 0.8841 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002731/0.7296, allocations: 1.197 MB / 0.8853 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002963/0.7325, allocations: 1.802 MB / 0.8871 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007914/0.7334, allocations: 467.8 kB / 0.8875 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000791/0.7342, allocations: 0.5903 MB / 0.8881 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of Backend: time 4.11e-07/0.7342, allocations: 0 / 0.8881 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004359/0.7385, allocations: 1.643 MB / 0.8897 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of SimCode: time 0.004187/0.7427, allocations: 2.736 MB / 0.8924 GB, free: 7.348 MB / 0.6544 GB Notification: Performance of Templates: time 0.03956/0.7823, allocations: 26.12 MB / 0.9179 GB, free: 13.43 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)