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: "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001829/0.001829, allocations: 194.4 kB / 16.53 MB, free: 6.66 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.393/1.393, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7656/0.7656, allocations: 132.2 MB / 422.6 MB, free: 1.809 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 68.89 kB / 0.5019 GB, free: 3.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3479, allocations: 80.2 MB / 0.5802 GB, free: 4.578 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1825/0.5304, allocations: 175.8 MB / 0.7519 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01647/0.5469, allocations: 12.64 MB / 0.7642 GB, free: 4.426 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001364/0.5483, allocations: 31.81 kB / 0.7643 GB, free: 4.395 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001637/0.5499, allocations: 436.7 kB / 0.7647 GB, free: 3.965 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003037/0.553, allocations: 0.9316 MB / 0.7656 GB, free: 3.031 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004785/0.5578, allocations: 1.812 MB / 0.7673 GB, free: 1.23 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00271/0.5606, allocations: 2.271 MB / 0.7696 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002216/0.5628, allocations: 1.582 MB / 0.7711 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003323/0.5661, allocations: 1.356 MB / 0.7724 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001129/0.5673, allocations: 0.809 MB / 0.7732 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003342/0.5676, allocations: 156 kB / 0.7734 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00251/0.5701, allocations: 1.38 MB / 0.7747 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000461/0.5706, allocations: 470.6 kB / 0.7752 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009288/0.5715, allocations: 0.7968 MB / 0.7759 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003412/0.575, allocations: 2.586 MB / 0.7785 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.575, allocations: 8 kB / 0.7785 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.573e-06/0.575, allocations: 0 / 0.7785 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.547e-05/0.575, allocations: 0 / 0.7785 GB, free: 5.785 MB / 0.6075 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.003308/0.5784, allocations: 1.896 MB / 0.7803 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.5784, allocations: 12.03 kB / 0.7803 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002309/0.5786, allocations: 194.3 kB / 0.7805 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002671/0.5813, allocations: 409.5 kB / 0.7809 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001408/0.5827, allocations: 0.9529 MB / 0.7819 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.083e-05/0.5828, allocations: 98.62 kB / 0.7819 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001613/0.583, allocations: 128 kB / 0.7821 GB, free: 2 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002404/0.5854, allocations: 1.456 MB / 0.7835 GB, free: 476 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.635e-05/0.5854, allocations: 7.938 kB / 0.7835 GB, free: 468 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001303/0.5856, allocations: 56 kB / 0.7836 GB, free: 412 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.598e-05/0.5856, allocations: 39.94 kB / 0.7836 GB, free: 372 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002619/0.5882, allocations: 1.532 MB / 0.7851 GB, free: 14.82 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.006722/0.595, allocations: 4.926 MB / 0.7899 GB, free: 9.633 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002405/0.5974, allocations: 1.426 MB / 0.7913 GB, free: 8.125 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008018/0.5982, allocations: 449.8 kB / 0.7917 GB, free: 7.688 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007206/0.5989, allocations: 425.4 kB / 0.7921 GB, free: 7.195 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001116/0.6001, allocations: 0.6199 MB / 0.7927 GB, free: 6.562 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=98): time 2.755e-06/0.6001, allocations: 3.938 kB / 0.7927 GB, free: 6.559 MB / 0.6231 GB Notification: Performance of matching and sorting (n=98): time 0.004189/0.6043, allocations: 1.524 MB / 0.7942 GB, free: 5.008 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.421e-05/0.6044, allocations: 200.8 kB / 0.7944 GB, free: 4.77 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/0.6056, allocations: 0.8543 MB / 0.7952 GB, free: 3.891 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.309e-05/0.6057, allocations: 45.7 kB / 0.7953 GB, free: 3.84 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004454/0.6061, allocations: 0.5739 MB / 0.7958 GB, free: 3.258 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002729/0.6064, allocations: 331.2 kB / 0.7962 GB, free: 2.93 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003054/0.6067, allocations: 186.5 kB / 0.7963 GB, free: 2.742 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.6068, allocations: 338 kB / 0.7967 GB, free: 2.406 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007454/0.6076, allocations: 349.7 kB / 0.797 GB, free: 2.062 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008694/0.6085, allocations: 0.5242 MB / 0.7975 GB, free: 1.473 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00163/0.6101, allocations: 0.8785 MB / 0.7984 GB, free: 0.5547 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.6101, allocations: 4 kB / 0.7984 GB, free: 0.5508 MB / 0.6231 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002611/0.6127, allocations: 1.102 MB / 0.7994 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.6128, allocations: 8 kB / 0.7995 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.6128, allocations: 416 / 0.7995 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000601/0.6134, allocations: 88.77 kB / 0.7995 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/0.6144, allocations: 231.7 kB / 0.7998 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002084/0.6165, allocations: 1.65 MB / 0.8014 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008972/0.6174, allocations: 121.1 kB / 0.8015 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.061e-05/0.6175, allocations: 39.98 kB / 0.8015 GB, free: 13.16 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: 6 (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 (111): * Single equations (assignments): 110 * 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.0005549/0.6181, allocations: 325.6 kB / 0.8018 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002659/0.6184, allocations: 118.6 kB / 0.802 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003166/0.6215, allocations: 1.338 MB / 0.8033 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/0.6216, allocations: 12 kB / 0.8033 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.758e-06/0.6216, allocations: 0 / 0.8033 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.6216, allocations: 3.984 kB / 0.8033 GB, free: 11.35 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 postOpt removeSimpleEquations (simulation): time 0.004758/0.6264, allocations: 2.697 MB / 0.8059 GB, free: 8.562 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.6264, allocations: 0 / 0.8059 GB, free: 8.562 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009881/0.6274, allocations: 215.7 kB / 0.8061 GB, free: 8.352 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004583/0.6278, allocations: 76.78 kB / 0.8062 GB, free: 8.273 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.958e-05/0.6279, allocations: 39.84 kB / 0.8062 GB, free: 8.234 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001805/0.6297, allocations: 1.662 MB / 0.8078 GB, free: 6.43 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.6298, allocations: 7.922 kB / 0.8079 GB, free: 6.422 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002497/0.6323, allocations: 1.222 MB / 0.809 GB, free: 5.184 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004702/0.6327, allocations: 339.2 kB / 0.8094 GB, free: 4.832 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001682/0.6329, allocations: 23.94 kB / 0.8094 GB, free: 4.809 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000876/0.6338, allocations: 71.88 kB / 0.8095 GB, free: 4.738 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001522/0.634, allocations: 76.83 kB / 0.8095 GB, free: 4.66 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.734e-05/0.6341, allocations: 47.97 kB / 0.8096 GB, free: 4.613 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007916/0.6349, allocations: 0.5903 MB / 0.8102 GB, free: 4.012 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6349, allocations: 0 / 0.8102 GB, free: 4.012 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001118/0.636, allocations: 454.9 kB / 0.8106 GB, free: 3.566 MB / 0.6387 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.004184/0.6402, allocations: 2.371 MB / 0.8129 GB, free: 1.387 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003064/0.6433, allocations: 1.332 MB / 0.8142 GB, free: 44 kB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.6433, allocations: 4 kB / 0.8142 GB, free: 40 kB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.226/0.8693, allocations: 0.6241 MB / 0.8148 GB, free: 219.5 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002482/0.8718, allocations: 0.5129 MB / 0.8153 GB, free: 219.5 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01472/0.8866, allocations: 8.973 MB / 0.8241 GB, free: 214.9 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007329/0.8873, allocations: 1.176 MB / 0.8252 GB, free: 214.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00158/0.8889, allocations: 376.4 kB / 0.8256 GB, free: 214.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006763/0.8896, allocations: 0.5365 MB / 0.8261 GB, free: 213.8 MB / 0.6387 GB Notification: Performance of SimCode: time 7.81e-07/0.8896, allocations: 0 / 0.8261 GB, free: 213.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6581/1.548, allocations: 31.67 MB / 0.857 GB, free: 193.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.72/14.27, allocations: 7.875 kB / 0.8571 GB, free: 193.7 MB / 0.6387 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)