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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001322/0.001323, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7087/0.7087, allocations: 132.2 MB / 148.9 MB, free: 12.13 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 222.9 MB / 403.4 MB, free: 7.082 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 98.95 kB / 484.3 MB, free: 8.691 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009822/0.0009823, allocations: 51.92 kB / 0.5618 GB, free: 71.05 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1223, allocations: 80.2 MB / 0.6402 GB, free: 6.781 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.4617/0.5841, allocations: 173.5 MB / 0.8096 GB, free: 5.613 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.01672/0.6009, allocations: 12.66 MB / 0.822 GB, free: 8.918 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001734/0.6026, allocations: 31.81 kB / 0.822 GB, free: 8.887 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001247/0.6039, allocations: 361.7 kB / 0.8224 GB, free: 8.531 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.002885/0.6068, allocations: 0.8381 MB / 0.8232 GB, free: 7.695 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.005266/0.6121, allocations: 1.619 MB / 0.8248 GB, free: 6.086 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.003267/0.6154, allocations: 2.65 MB / 0.8274 GB, free: 3.426 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002158/0.6176, allocations: 1.447 MB / 0.8288 GB, free: 1.934 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005137/0.6227, allocations: 1.218 MB / 0.83 GB, free: 0.7383 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001106/0.6239, allocations: 0.8011 MB / 0.8307 GB, free: 15.93 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001976/0.6241, allocations: 88 kB / 0.8308 GB, free: 15.85 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002615/0.6267, allocations: 1.454 MB / 0.8322 GB, free: 14.39 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003951/0.6271, allocations: 394.6 kB / 0.8326 GB, free: 14 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0007768/0.6279, allocations: 0.7304 MB / 0.8333 GB, free: 13.27 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.003191/0.6311, allocations: 2.578 MB / 0.8358 GB, free: 10.68 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.6311, allocations: 0 / 0.8358 GB, free: 10.68 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6311, allocations: 0 / 0.8358 GB, free: 10.68 MB / 0.573 GB Notification: Performance of Transformations before backend: time 2.252e-05/0.6311, allocations: 0 / 0.8358 GB, free: 10.68 MB / 0.573 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.002922/0.6341, allocations: 1.901 MB / 0.8377 GB, free: 8.727 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.6341, allocations: 12.03 kB / 0.8377 GB, free: 8.715 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002709/0.6368, allocations: 397.7 kB / 0.8381 GB, free: 8.324 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001709/0.6386, allocations: 0.9643 MB / 0.839 GB, free: 7.316 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.076e-05/0.6387, allocations: 98.62 kB / 0.8391 GB, free: 7.219 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001845/0.6389, allocations: 124 kB / 0.8392 GB, free: 7.098 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002477/0.6413, allocations: 1.46 MB / 0.8407 GB, free: 5.559 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/0.6414, allocations: 0 / 0.8407 GB, free: 5.559 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001209/0.6415, allocations: 56 kB / 0.8407 GB, free: 5.504 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.384e-05/0.6415, allocations: 40 kB / 0.8408 GB, free: 5.465 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002496/0.644, allocations: 1.532 MB / 0.8423 GB, free: 3.926 MB / 0.573 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.006622/0.6507, allocations: 4.899 MB / 0.847 GB, free: 14.77 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002415/0.6531, allocations: 1.428 MB / 0.8484 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007811/0.6539, allocations: 457.3 kB / 0.8489 GB, free: 12.81 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007105/0.6546, allocations: 425.3 kB / 0.8493 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001142/0.6558, allocations: 0.6178 MB / 0.8499 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=98): time 2.715e-06/0.6558, allocations: 0 / 0.8499 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of matching and sorting (n=98): time 0.004026/0.6598, allocations: 1.536 MB / 0.8514 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.66, allocations: 192.9 kB / 0.8516 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/0.6612, allocations: 0.8543 MB / 0.8524 GB, free: 9.008 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001088/0.6613, allocations: 45.64 kB / 0.8524 GB, free: 8.957 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004775/0.6618, allocations: 0.5661 MB / 0.853 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002747/0.6621, allocations: 335.1 kB / 0.8533 GB, free: 8.051 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002942/0.6624, allocations: 194.5 kB / 0.8535 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.6625, allocations: 353.9 kB / 0.8538 GB, free: 7.504 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007592/0.6633, allocations: 361.8 kB / 0.8542 GB, free: 7.148 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008925/0.6642, allocations: 0.5324 MB / 0.8547 GB, free: 6.566 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00162/0.6658, allocations: 0.9019 MB / 0.8556 GB, free: 5.625 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.6658, allocations: 0 / 0.8556 GB, free: 5.625 MB / 0.5886 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002633/0.6685, allocations: 1.157 MB / 0.8567 GB, free: 4.453 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/0.6685, allocations: 4 kB / 0.8567 GB, free: 4.449 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.6685, allocations: 4.078 kB / 0.8567 GB, free: 4.445 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006121/0.6692, allocations: 88.75 kB / 0.8568 GB, free: 4.355 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009882/0.6702, allocations: 235.7 kB / 0.857 GB, free: 4.125 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002227/0.6724, allocations: 1.552 MB / 0.8586 GB, free: 2.438 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/0.6735, allocations: 132.8 kB / 0.8587 GB, free: 2.309 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.746e-05/0.6737, allocations: 51.97 kB / 0.8587 GB, free: 2.258 MB / 0.5886 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.0006254/0.6743, allocations: 327.5 kB / 0.859 GB, free: 1.93 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002381/0.6745, allocations: 118.5 kB / 0.8592 GB, free: 1.812 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003012/0.6776, allocations: 1.326 MB / 0.8604 GB, free: 484 kB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/0.6776, allocations: 8 kB / 0.8605 GB, free: 476 kB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.267e-06/0.6776, allocations: 0 / 0.8605 GB, free: 476 kB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.6776, allocations: 7.984 kB / 0.8605 GB, free: 468 kB / 0.5886 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.004655/0.6823, allocations: 2.694 MB / 0.8631 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.6823, allocations: 0 / 0.8631 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009704/0.6833, allocations: 211.7 kB / 0.8633 GB, free: 13.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005306/0.6838, allocations: 88.77 kB / 0.8634 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.266e-05/0.6839, allocations: 31.98 kB / 0.8634 GB, free: 13.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001775/0.6857, allocations: 1.563 MB / 0.8649 GB, free: 11.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6857, allocations: 0 / 0.8649 GB, free: 11.65 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003883/0.6896, allocations: 2.489 MB / 0.8674 GB, free: 9.102 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006021/0.6902, allocations: 339.3 kB / 0.8677 GB, free: 8.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001824/0.6904, allocations: 16 kB / 0.8677 GB, free: 8.734 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/0.6914, allocations: 91.81 kB / 0.8678 GB, free: 8.645 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001607/0.6916, allocations: 76.89 kB / 0.8679 GB, free: 8.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.871e-05/0.6917, allocations: 47.97 kB / 0.8679 GB, free: 8.523 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007728/0.6925, allocations: 0.5825 MB / 0.8685 GB, free: 7.93 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6925, allocations: 0 / 0.8685 GB, free: 7.93 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00135/0.6939, allocations: 466.9 kB / 0.8689 GB, free: 7.473 MB / 0.6042 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.001742/0.6956, allocations: 0.7109 MB / 0.8696 GB, free: 6.941 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002201/0.6978, allocations: 1.058 MB / 0.8707 GB, free: 5.867 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.6978, allocations: 4 kB / 0.8707 GB, free: 5.863 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001145/0.699, allocations: 0.6367 MB / 0.8713 GB, free: 5.215 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002236/0.7012, allocations: 490.4 kB / 0.8717 GB, free: 4.742 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005889/0.7071, allocations: 3.458 MB / 0.8751 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008096/0.708, allocations: 1.208 MB / 0.8763 GB, free: 0 / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001496/0.7095, allocations: 381.3 kB / 0.8767 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003414/0.7098, allocations: 131.4 kB / 0.8768 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of SimCode: time 9.22e-07/0.7098, allocations: 0 / 0.8768 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of Templates: time 0.03691/0.7468, allocations: 22.55 MB / 0.8988 GB, free: 9.176 MB / 0.6355 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)