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.001328/0.001328, allocations: 114.9 kB / 16.42 MB, free: 6.5 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.001372/0.001372, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.288/1.288, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7717/0.7717, allocations: 132.2 MB / 423.4 MB, free: 6.523 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 62 kB / 0.582 GB, free: 23.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1391, allocations: 80.22 MB / 0.6603 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.5043/0.6435, allocations: 175.8 MB / 0.832 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0162/0.6597, allocations: 12.63 MB / 0.8443 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001161/0.6609, allocations: 34.38 kB / 0.8444 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001388/0.6623, allocations: 463.8 kB / 0.8448 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002839/0.6652, allocations: 0.9407 MB / 0.8457 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004344/0.6696, allocations: 1.846 MB / 0.8475 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002669/0.6723, allocations: 2.284 MB / 0.8498 GB, free: 0.8711 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002214/0.6745, allocations: 1.586 MB / 0.8513 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003544/0.6781, allocations: 1.404 MB / 0.8527 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001145/0.6792, allocations: 0.8145 MB / 0.8535 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003021/0.6795, allocations: 158.1 kB / 0.8536 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002606/0.6821, allocations: 1.406 MB / 0.855 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004793/0.6826, allocations: 467.6 kB / 0.8555 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001089/0.6837, allocations: 0.8024 MB / 0.8562 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003754/0.6875, allocations: 2.641 MB / 0.8588 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.6875, allocations: 0 / 0.8588 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6875, allocations: 0 / 0.8588 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.446e-05/0.6876, allocations: 4 kB / 0.8588 GB, free: 10.81 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.003402/0.691, allocations: 1.899 MB / 0.8607 GB, free: 8.855 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.691, allocations: 8.031 kB / 0.8607 GB, free: 8.848 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002701/0.6937, allocations: 405.5 kB / 0.8611 GB, free: 8.449 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001561/0.6953, allocations: 0.984 MB / 0.862 GB, free: 7.422 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.685e-05/0.6954, allocations: 102.6 kB / 0.8621 GB, free: 7.32 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001595/0.6956, allocations: 124 kB / 0.8622 GB, free: 7.199 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00238/0.6979, allocations: 1.455 MB / 0.8637 GB, free: 5.668 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/0.698, allocations: 3.938 kB / 0.8637 GB, free: 5.664 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001241/0.6981, allocations: 60 kB / 0.8637 GB, free: 5.605 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.499e-05/0.6981, allocations: 32 kB / 0.8638 GB, free: 5.574 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002477/0.7006, allocations: 1.536 MB / 0.8653 GB, free: 4.031 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.006327/0.707, allocations: 4.88 MB / 0.87 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002343/0.7093, allocations: 1.425 MB / 0.8714 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007785/0.7101, allocations: 455.6 kB / 0.8719 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007011/0.7108, allocations: 425.4 kB / 0.8723 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001091/0.7119, allocations: 0.6177 MB / 0.8729 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=98): time 2.886e-06/0.7119, allocations: 0 / 0.8729 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of matching and sorting (n=98): time 0.003853/0.7158, allocations: 1.528 MB / 0.8744 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.748e-05/0.7159, allocations: 192.9 kB / 0.8745 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.7169, allocations: 0.8542 MB / 0.8754 GB, free: 9.148 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.643e-05/0.717, allocations: 49.7 kB / 0.8754 GB, free: 9.094 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004095/0.7175, allocations: 0.57 MB / 0.876 GB, free: 8.516 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002433/0.7177, allocations: 327.2 kB / 0.8763 GB, free: 8.191 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003001/0.718, allocations: 202.4 kB / 0.8765 GB, free: 7.988 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.7181, allocations: 345.9 kB / 0.8768 GB, free: 7.645 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007398/0.7189, allocations: 365.8 kB / 0.8772 GB, free: 7.285 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008866/0.7198, allocations: 0.5325 MB / 0.8777 GB, free: 6.699 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001662/0.7214, allocations: 0.9019 MB / 0.8786 GB, free: 5.754 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.7215, allocations: 3.938 kB / 0.8786 GB, free: 5.75 MB / 0.6387 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002536/0.724, allocations: 1.145 MB / 0.8797 GB, free: 4.598 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.724, allocations: 11.94 kB / 0.8797 GB, free: 4.586 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.724, allocations: 4 kB / 0.8797 GB, free: 4.582 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006033/0.7247, allocations: 93.11 kB / 0.8798 GB, free: 4.488 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.7257, allocations: 243.6 kB / 0.88 GB, free: 4.25 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002081/0.7278, allocations: 1.639 MB / 0.8816 GB, free: 2.465 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009247/0.7288, allocations: 119 kB / 0.8817 GB, free: 2.348 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.847e-05/0.7289, allocations: 51.97 kB / 0.8818 GB, free: 2.297 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.0005529/0.7294, allocations: 338.2 kB / 0.8821 GB, free: 1.957 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002289/0.7297, allocations: 110.7 kB / 0.8822 GB, free: 1.848 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002975/0.7327, allocations: 1.334 MB / 0.8835 GB, free: 0.5078 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.374e-05/0.7327, allocations: 7.922 kB / 0.8835 GB, free: 0.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.7327, allocations: 0 / 0.8835 GB, free: 0.5 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005399/0.7332, allocations: 339.2 kB / 0.8838 GB, free: 152 kB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001751/0.7334, allocations: 27.94 kB / 0.8839 GB, free: 124 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008151/0.7342, allocations: 59.94 kB / 0.8839 GB, free: 64 kB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001661/0.7344, allocations: 72.94 kB / 0.884 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002778/0.7372, allocations: 1.197 MB / 0.8852 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002996/0.7402, allocations: 1.797 MB / 0.8869 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008198/0.741, allocations: 474.2 kB / 0.8874 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007587/0.7418, allocations: 0.5903 MB / 0.8879 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of Backend: time 2.4e-07/0.7418, allocations: 0 / 0.8879 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004262/0.7461, allocations: 1.629 MB / 0.8895 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of SimCode: time 0.004072/0.7502, allocations: 2.696 MB / 0.8922 GB, free: 7.82 MB / 0.6544 GB Notification: Performance of Templates: time 0.03991/0.7901, allocations: 26.12 MB / 0.9177 GB, free: 13.9 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)