Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="IDEAS_dev_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.001274/0.001274, 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.001531/0.001531, allocations: 195.4 kB / 16.53 MB, free: 6.699 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.382/1.382, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9452/0.9452, allocations: 135.1 MB / 425.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 60.34 kB / 0.5054 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1484, allocations: 80.93 MB / 0.5845 GB, free: 4.445 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.4561/0.6045, allocations: 175.8 MB / 0.7561 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01621/0.6208, allocations: 12.62 MB / 0.7685 GB, free: 388 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001077/0.6219, allocations: 35.81 kB / 0.7685 GB, free: 352 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001167/0.6231, allocations: 440.8 kB / 0.7689 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002502/0.6256, allocations: 0.9404 MB / 0.7698 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004095/0.6297, allocations: 1.811 MB / 0.7716 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002417/0.6321, allocations: 2.271 MB / 0.7738 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001983/0.6341, allocations: 1.594 MB / 0.7754 GB, free: 9.254 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003493/0.6376, allocations: 1.342 MB / 0.7767 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009856/0.6386, allocations: 0.8129 MB / 0.7775 GB, free: 7.137 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002304/0.6389, allocations: 160 kB / 0.7776 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002778/0.6417, allocations: 1.384 MB / 0.779 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003821/0.6421, allocations: 466.6 kB / 0.7794 GB, free: 5.137 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000737/0.6428, allocations: 0.7968 MB / 0.7802 GB, free: 4.336 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003765/0.6466, allocations: 2.594 MB / 0.7828 GB, free: 1.734 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.6466, allocations: 4 kB / 0.7828 GB, free: 1.73 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.184e-06/0.6466, allocations: 0 / 0.7828 GB, free: 1.73 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.628e-05/0.6467, allocations: 0 / 0.7828 GB, free: 1.73 MB / 0.5919 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.002933/0.6496, allocations: 1.906 MB / 0.7846 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.6496, allocations: 8.031 kB / 0.7846 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002179/0.6499, allocations: 198.3 kB / 0.7848 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002564/0.6524, allocations: 405.5 kB / 0.7852 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001327/0.6538, allocations: 0.9489 MB / 0.7861 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.153e-05/0.6539, allocations: 98.62 kB / 0.7862 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001599/0.654, allocations: 131.9 kB / 0.7863 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002316/0.6564, allocations: 1.456 MB / 0.7878 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.409e-05/0.6564, allocations: 1.125 kB / 0.7878 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001231/0.6565, allocations: 60 kB / 0.7878 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.372e-05/0.6566, allocations: 36 kB / 0.7879 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00248/0.659, allocations: 1.536 MB / 0.7894 GB, free: 10.77 MB / 0.6075 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.006303/0.6654, allocations: 4.922 MB / 0.7942 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002346/0.6677, allocations: 1.434 MB / 0.7956 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007572/0.6685, allocations: 452.8 kB / 0.796 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007002/0.6692, allocations: 421.4 kB / 0.7964 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001071/0.6703, allocations: 0.6178 MB / 0.797 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=98): time 2.845e-06/0.6703, allocations: 0 / 0.797 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of matching and sorting (n=98): time 0.003978/0.6743, allocations: 1.528 MB / 0.7985 GB, free: 0.9609 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.239e-05/0.6744, allocations: 188.9 kB / 0.7987 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001141/0.6755, allocations: 0.8582 MB / 0.7995 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001005/0.6757, allocations: 41.7 kB / 0.7996 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004736/0.6761, allocations: 0.5816 MB / 0.8001 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002696/0.6764, allocations: 323.2 kB / 0.8004 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002872/0.6767, allocations: 186.5 kB / 0.8006 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.6768, allocations: 341.9 kB / 0.8009 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006968/0.6775, allocations: 345.8 kB / 0.8013 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000844/0.6784, allocations: 0.5202 MB / 0.8018 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001568/0.68, allocations: 0.8824 MB / 0.8026 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.68, allocations: 4 kB / 0.8026 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002571/0.6826, allocations: 1.102 MB / 0.8037 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.6826, allocations: 8 kB / 0.8037 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.6826, allocations: 4 kB / 0.8037 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006102/0.6833, allocations: 85.17 kB / 0.8038 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/0.6843, allocations: 239.7 kB / 0.804 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002224/0.6865, allocations: 1.638 MB / 0.8056 GB, free: 9.285 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/0.6876, allocations: 121.4 kB / 0.8058 GB, free: 9.168 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.279e-05/0.6877, allocations: 43.97 kB / 0.8058 GB, free: 9.125 MB / 0.6231 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.0006392/0.6883, allocations: 330.9 kB / 0.8061 GB, free: 8.793 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002619/0.6886, allocations: 118.5 kB / 0.8062 GB, free: 8.676 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003015/0.6916, allocations: 1.34 MB / 0.8075 GB, free: 7.328 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.6916, allocations: 15.98 kB / 0.8075 GB, free: 7.312 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.6917, allocations: 3.938 kB / 0.8076 GB, free: 7.309 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.056e-05/0.6917, allocations: 3.984 kB / 0.8076 GB, free: 7.305 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 postOpt removeSimpleEquations (simulation): time 0.004784/0.6965, allocations: 2.69 MB / 0.8102 GB, free: 4.531 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.6965, allocations: 0 / 0.8102 GB, free: 4.531 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000949/0.6975, allocations: 215.7 kB / 0.8104 GB, free: 4.32 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004547/0.6979, allocations: 72.78 kB / 0.8105 GB, free: 4.246 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.299e-05/0.698, allocations: 31.98 kB / 0.8105 GB, free: 4.215 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001996/0.7, allocations: 1.666 MB / 0.8121 GB, free: 2.402 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.7, allocations: 3.984 kB / 0.8121 GB, free: 2.398 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002625/0.7027, allocations: 1.226 MB / 0.8133 GB, free: 1.152 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000563/0.7033, allocations: 339.3 kB / 0.8136 GB, free: 0.8008 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001706/0.7034, allocations: 23.98 kB / 0.8137 GB, free: 0.7773 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000835/0.7043, allocations: 75.19 kB / 0.8137 GB, free: 0.707 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001648/0.7044, allocations: 76.83 kB / 0.8138 GB, free: 0.6328 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.793e-05/0.7046, allocations: 43.97 kB / 0.8139 GB, free: 0.5898 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008981/0.7055, allocations: 0.5903 MB / 0.8144 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7055, allocations: 0 / 0.8144 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001424/0.7069, allocations: 458.8 kB / 0.8149 GB, free: 15.54 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.004444/0.7114, allocations: 2.374 MB / 0.8172 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003547/0.7149, allocations: 1.335 MB / 0.8185 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.7149, allocations: 0 / 0.8185 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00114/0.7161, allocations: 0.6251 MB / 0.8191 GB, free: 11.37 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002335/0.7184, allocations: 0.5146 MB / 0.8196 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01488/0.7333, allocations: 8.984 MB / 0.8284 GB, free: 1.543 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000799/0.7342, allocations: 1.183 MB / 0.8295 GB, free: 336 kB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001489/0.7357, allocations: 377.4 kB / 0.8299 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007358/0.7364, allocations: 0.5304 MB / 0.8304 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of SimCode: time 8.92e-07/0.7364, allocations: 3.938 kB / 0.8304 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06372/0.8002, allocations: 31.67 MB / 0.8613 GB, free: 184 kB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.67, allocations: 0 / 0.8613 GB, free: 184 kB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 IDEAS_dev_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)