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.005535/0.005535, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001296/0.001296, allocations: 197.5 kB / 16.68 MB, free: 5.969 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8184/0.8184, allocations: 135.6 MB / 426.1 MB, free: 3.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 71.44 kB / 0.5857 GB, free: 21.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1595, allocations: 81.02 MB / 0.6649 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.5568/0.7164, allocations: 175.8 MB / 0.8365 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01644/0.7329, allocations: 12.63 MB / 0.8489 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001104/0.734, allocations: 34.69 kB / 0.8489 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001205/0.7353, allocations: 446.5 kB / 0.8493 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002541/0.7378, allocations: 0.9349 MB / 0.8502 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005018/0.7428, allocations: 1.822 MB / 0.852 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004239/0.7471, allocations: 2.283 MB / 0.8543 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002519/0.7496, allocations: 1.583 MB / 0.8558 GB, free: 9.516 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004034/0.7537, allocations: 1.36 MB / 0.8571 GB, free: 8.715 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001371/0.7551, allocations: 0.8075 MB / 0.8579 GB, free: 8.164 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000244/0.7553, allocations: 158.1 kB / 0.8581 GB, free: 8.164 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003021/0.7584, allocations: 1.418 MB / 0.8595 GB, free: 7.27 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005041/0.7589, allocations: 462.6 kB / 0.8599 GB, free: 6.816 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001003/0.7599, allocations: 0.8007 MB / 0.8607 GB, free: 6.012 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004535/0.7644, allocations: 2.656 MB / 0.8633 GB, free: 3.352 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.7645, allocations: 0 / 0.8633 GB, free: 3.352 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.034e-06/0.7645, allocations: 0 / 0.8633 GB, free: 3.352 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.203e-05/0.7645, allocations: 0 / 0.8633 GB, free: 3.352 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.003594/0.7681, allocations: 1.955 MB / 0.8652 GB, free: 1.336 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.7682, allocations: 9.109 kB / 0.8652 GB, free: 1.328 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002688/0.7684, allocations: 202.3 kB / 0.8654 GB, free: 1.121 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002689/0.7711, allocations: 414.5 kB / 0.8658 GB, free: 0.7148 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001657/0.7728, allocations: 0.9966 MB / 0.8667 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.453e-05/0.7729, allocations: 94.62 kB / 0.8668 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001682/0.7731, allocations: 128 kB / 0.867 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002637/0.7757, allocations: 1.464 MB / 0.8684 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.827e-05/0.7758, allocations: 3.938 kB / 0.8684 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001263/0.7759, allocations: 56 kB / 0.8684 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.909e-05/0.7759, allocations: 32 kB / 0.8685 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002738/0.7787, allocations: 1.536 MB / 0.87 GB, free: 12.27 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 preOpt removeSimpleEquations (simulation): time 0.007568/0.7863, allocations: 4.889 MB / 0.8748 GB, free: 7.129 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002593/0.7889, allocations: 1.415 MB / 0.8761 GB, free: 5.633 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008505/0.7897, allocations: 456.6 kB / 0.8766 GB, free: 5.188 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008124/0.7906, allocations: 421.4 kB / 0.877 GB, free: 4.699 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001271/0.7918, allocations: 0.6177 MB / 0.8776 GB, free: 4.062 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=98): time 2.685e-06/0.7919, allocations: 3.938 kB / 0.8776 GB, free: 4.059 MB / 0.6387 GB Notification: Performance of matching and sorting (n=98): time 0.004245/0.7961, allocations: 1.538 MB / 0.8791 GB, free: 2.496 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001462/0.7963, allocations: 196.8 kB / 0.8793 GB, free: 2.262 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001355/0.7976, allocations: 0.8543 MB / 0.8801 GB, free: 1.383 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001037/0.7978, allocations: 41.7 kB / 0.8801 GB, free: 1.336 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005706/0.7983, allocations: 0.5906 MB / 0.8807 GB, free: 0.7383 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000356/0.7987, allocations: 349 kB / 0.8811 GB, free: 404 kB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003038/0.799, allocations: 186.6 kB / 0.8812 GB, free: 212 kB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.7992, allocations: 334 kB / 0.8815 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007206/0.7999, allocations: 345.8 kB / 0.8819 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00092/0.8008, allocations: 0.5242 MB / 0.8824 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001656/0.8025, allocations: 0.8746 MB / 0.8832 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.8025, allocations: 0 / 0.8832 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002633/0.8052, allocations: 1.114 MB / 0.8843 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/0.8052, allocations: 8 kB / 0.8843 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/0.8052, allocations: 7.938 kB / 0.8843 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005917/0.8058, allocations: 85.17 kB / 0.8844 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009978/0.8068, allocations: 227.7 kB / 0.8846 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002189/0.809, allocations: 1.643 MB / 0.8863 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009169/0.81, allocations: 127.2 kB / 0.8864 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.903e-05/0.81, allocations: 39.98 kB / 0.8864 GB, free: 10.63 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.0006362/0.8107, allocations: 331.4 kB / 0.8867 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002453/0.8109, allocations: 119.2 kB / 0.8868 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003049/0.814, allocations: 1.331 MB / 0.8881 GB, free: 8.844 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.814, allocations: 12.09 kB / 0.8882 GB, free: 8.832 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.814, allocations: 3.984 kB / 0.8882 GB, free: 8.828 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.8141, allocations: 7.984 kB / 0.8882 GB, free: 8.82 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.004676/0.8187, allocations: 2.699 MB / 0.8908 GB, free: 6.035 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.299e-06/0.8188, allocations: 0 / 0.8908 GB, free: 6.035 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009363/0.8197, allocations: 211.8 kB / 0.891 GB, free: 5.828 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004512/0.8202, allocations: 72.78 kB / 0.8911 GB, free: 5.754 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.162e-05/0.8202, allocations: 31.97 kB / 0.8911 GB, free: 5.723 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002015/0.8223, allocations: 1.681 MB / 0.8927 GB, free: 3.891 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.8223, allocations: 0 / 0.8927 GB, free: 3.891 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002667/0.825, allocations: 1.237 MB / 0.894 GB, free: 2.633 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005847/0.8256, allocations: 343.9 kB / 0.8943 GB, free: 2.277 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001536/0.8257, allocations: 20 kB / 0.8943 GB, free: 2.258 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008253/0.8265, allocations: 68.69 kB / 0.8944 GB, free: 2.191 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001703/0.8267, allocations: 76.83 kB / 0.8944 GB, free: 2.117 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/0.8268, allocations: 47.97 kB / 0.8945 GB, free: 2.07 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000868/0.8277, allocations: 0.5903 MB / 0.8951 GB, free: 1.469 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8277, allocations: 7.938 kB / 0.8951 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001226/0.829, allocations: 462.7 kB / 0.8955 GB, free: 1.008 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.005041/0.834, allocations: 2.387 MB / 0.8978 GB, free: 14.79 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002341/0.8364, allocations: 1.035 MB / 0.8988 GB, free: 13.74 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/0.8364, allocations: 8 kB / 0.8989 GB, free: 13.73 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001207/0.8376, allocations: 0.6329 MB / 0.8995 GB, free: 13.09 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002335/0.84, allocations: 0.5101 MB / 0.9 GB, free: 12.6 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01535/0.8553, allocations: 8.539 MB / 0.9083 GB, free: 3.852 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000873/0.8562, allocations: 1.178 MB / 0.9095 GB, free: 2.641 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001339/0.8576, allocations: 373.2 kB / 0.9098 GB, free: 2.273 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007946/0.8584, allocations: 0.5344 MB / 0.9103 GB, free: 1.738 MB / 0.67 GB Notification: Performance of SimCode: time 6.51e-07/0.8584, allocations: 0 / 0.9103 GB, free: 1.738 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07453/0.9329, allocations: 31.98 MB / 0.9416 GB, free: 2.066 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.56/14.5, allocations: 11.44 kB / 0.9416 GB, free: 2.062 MB / 0.7012 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)