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.007125/0.007125, allocations: 96.39 kB / 15.73 MB, free: 6 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.001608/0.001608, allocations: 189 kB / 16.67 MB, free: 5.93 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.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7379/0.7379, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 67.12 kB / 0.5809 GB, free: 1.109 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1792, allocations: 80.2 MB / 0.6592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.5864/0.7656, allocations: 175.8 MB / 0.8309 GB, free: 2.883 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01407/0.7797, allocations: 12.64 MB / 0.8432 GB, free: 2.676 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001285/0.781, allocations: 29.53 kB / 0.8432 GB, free: 2.676 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001151/0.7822, allocations: 452.5 kB / 0.8437 GB, free: 2.668 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002702/0.7849, allocations: 0.9542 MB / 0.8446 GB, free: 2.637 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004495/0.7894, allocations: 1.837 MB / 0.8464 GB, free: 2.582 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002836/0.7923, allocations: 2.291 MB / 0.8486 GB, free: 2.566 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001865/0.7942, allocations: 1.592 MB / 0.8502 GB, free: 2.348 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003582/0.7977, allocations: 1.387 MB / 0.8515 GB, free: 2.336 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001057/0.7988, allocations: 0.8099 MB / 0.8523 GB, free: 2.332 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002219/0.799, allocations: 159.4 kB / 0.8525 GB, free: 2.332 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002917/0.802, allocations: 1.416 MB / 0.8539 GB, free: 2.309 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004329/0.8024, allocations: 469.3 kB / 0.8543 GB, free: 2.305 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007891/0.8032, allocations: 0.8 MB / 0.8551 GB, free: 2.094 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003763/0.807, allocations: 2.65 MB / 0.8577 GB, free: 1.73 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.807, allocations: 3.938 kB / 0.8577 GB, free: 1.727 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.673e-06/0.807, allocations: 0 / 0.8577 GB, free: 1.727 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.972e-05/0.8071, allocations: 1.031 kB / 0.8577 GB, free: 1.727 MB / 0.6387 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.0028/0.8099, allocations: 1.962 MB / 0.8596 GB, free: 0.7031 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.543e-05/0.8099, allocations: 11.62 kB / 0.8596 GB, free: 0.7031 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001905/0.8101, allocations: 199.3 kB / 0.8598 GB, free: 0.6562 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002453/0.8126, allocations: 407.6 kB / 0.8602 GB, free: 0.5664 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001368/0.814, allocations: 1.001 MB / 0.8612 GB, free: 212 kB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.917e-05/0.814, allocations: 95.62 kB / 0.8613 GB, free: 208 kB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/0.8142, allocations: 127.1 kB / 0.8614 GB, free: 208 kB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002118/0.8163, allocations: 1.465 MB / 0.8628 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.703e-05/0.8164, allocations: 3.094 kB / 0.8628 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001178/0.8165, allocations: 59.59 kB / 0.8629 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.534e-05/0.8165, allocations: 31.28 kB / 0.8629 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002133/0.8186, allocations: 1.533 MB / 0.8644 GB, free: 15.96 MB / 0.6544 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.006185/0.8248, allocations: 4.889 MB / 0.8692 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002232/0.8271, allocations: 1.42 MB / 0.8706 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007105/0.8278, allocations: 455.2 kB / 0.871 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007117/0.8285, allocations: 425.6 kB / 0.8714 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001031/0.8296, allocations: 0.6217 MB / 0.872 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=98): time 2.856e-06/0.8296, allocations: 0 / 0.872 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of matching and sorting (n=98): time 0.003693/0.8333, allocations: 1.54 MB / 0.8735 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.8334, allocations: 194.3 kB / 0.8737 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/0.8344, allocations: 0.8446 MB / 0.8745 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.184e-05/0.8346, allocations: 48.58 kB / 0.8746 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005336/0.8351, allocations: 0.5823 MB / 0.8751 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003077/0.8354, allocations: 346.1 kB / 0.8755 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003253/0.8357, allocations: 190.8 kB / 0.8756 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.8359, allocations: 342.3 kB / 0.876 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000671/0.8366, allocations: 349 kB / 0.8763 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008054/0.8374, allocations: 0.5245 MB / 0.8768 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001456/0.8388, allocations: 0.8774 MB / 0.8777 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.8389, allocations: 2.094 kB / 0.8777 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002353/0.8412, allocations: 1.109 MB / 0.8788 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.8412, allocations: 5.812 kB / 0.8788 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.8413, allocations: 6.516 kB / 0.8788 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005575/0.8418, allocations: 82.08 kB / 0.8788 GB, free: 9.992 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009407/0.8428, allocations: 232.2 kB / 0.8791 GB, free: 9.984 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001991/0.8448, allocations: 1.654 MB / 0.8807 GB, free: 8.449 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009196/0.8457, allocations: 120.9 kB / 0.8808 GB, free: 8.379 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.22e-05/0.8458, allocations: 41.14 kB / 0.8808 GB, free: 8.375 MB / 0.6544 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.0005874/0.8464, allocations: 332 kB / 0.8812 GB, free: 8.152 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002124/0.8466, allocations: 121.1 kB / 0.8813 GB, free: 8.09 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002742/0.8494, allocations: 1.328 MB / 0.8826 GB, free: 7.586 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.8494, allocations: 15.59 kB / 0.8826 GB, free: 7.586 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.8494, allocations: 3.938 kB / 0.8826 GB, free: 7.582 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.8494, allocations: 5.781 kB / 0.8826 GB, free: 7.582 MB / 0.6544 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.004133/0.8535, allocations: 2.689 MB / 0.8852 GB, free: 6.301 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/0.8536, allocations: 1.625 kB / 0.8852 GB, free: 6.301 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008922/0.8545, allocations: 221.3 kB / 0.8854 GB, free: 6.293 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004213/0.8549, allocations: 69.8 kB / 0.8855 GB, free: 6.277 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.371e-05/0.855, allocations: 29.14 kB / 0.8855 GB, free: 6.266 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001868/0.8568, allocations: 1.677 MB / 0.8872 GB, free: 4.711 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.8569, allocations: 7.047 kB / 0.8872 GB, free: 4.707 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002436/0.8593, allocations: 1.235 MB / 0.8884 GB, free: 4.16 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005725/0.8599, allocations: 342.4 kB / 0.8887 GB, free: 3.922 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001526/0.86, allocations: 21.28 kB / 0.8887 GB, free: 3.906 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008095/0.8609, allocations: 72.33 kB / 0.8888 GB, free: 3.891 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/0.861, allocations: 70.84 kB / 0.8889 GB, free: 3.883 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.026e-05/0.8611, allocations: 49.61 kB / 0.8889 GB, free: 3.875 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007672/0.8619, allocations: 0.5891 MB / 0.8895 GB, free: 3.617 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3e-07/0.8619, allocations: 0 / 0.8895 GB, free: 3.617 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00117/0.8631, allocations: 464 kB / 0.8899 GB, free: 3.488 MB / 0.6544 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.004126/0.8672, allocations: 2.381 MB / 0.8922 GB, free: 2.289 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00212/0.8693, allocations: 1.032 MB / 0.8933 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.8694, allocations: 2.906 kB / 0.8933 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001054/0.8704, allocations: 0.646 MB / 0.8939 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002174/0.8726, allocations: 0.5166 MB / 0.8944 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01462/0.8872, allocations: 8.548 MB / 0.9027 GB, free: 10.96 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008225/0.8881, allocations: 1.174 MB / 0.9039 GB, free: 9.754 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001406/0.8895, allocations: 379.8 kB / 0.9042 GB, free: 9.387 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007134/0.8902, allocations: 0.5266 MB / 0.9048 GB, free: 8.859 MB / 0.67 GB Notification: Performance of SimCode: time 1.002e-06/0.8903, allocations: 4 kB / 0.9048 GB, free: 8.855 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06721/0.9575, allocations: 31.97 MB / 0.936 GB, free: 9.379 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.2/14.16, allocations: 14.89 kB / 0.936 GB, free: 9.371 MB / 0.7012 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 & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)