Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in.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.Validation.BoundaryWithXi_in,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Validation_BoundaryWithXi_in",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.004793/0.004793, allocations: 97.61 kB / 15.73 MB, free: 6.055 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.001289/0.001289, allocations: 197.5 kB / 16.68 MB, free: 5.977 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.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9697/0.9697, allocations: 135.6 MB / 426.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001866, allocations: 67.89 kB / 0.5857 GB, free: 3.211 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3696/0.3715, allocations: 81.01 MB / 0.6649 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.6101/0.9817, allocations: 214 MB / 0.8739 GB, free: 1.949 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01272/0.9944, allocations: 12.16 MB / 0.8858 GB, free: 1.883 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001349/0.9959, allocations: 42.47 kB / 0.8858 GB, free: 1.883 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001011/0.9969, allocations: 0.5058 MB / 0.8863 GB, free: 1.883 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.004128/1.001, allocations: 1.884 MB / 0.8881 GB, free: 1.816 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004323/1.005, allocations: 1.905 MB / 0.89 GB, free: 1.762 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004331/1.01, allocations: 2.373 MB / 0.8923 GB, free: 1.754 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001809/1.012, allocations: 1.202 MB / 0.8935 GB, free: 1.617 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001637/1.013, allocations: 0.8349 MB / 0.8943 GB, free: 1.613 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008252/1.014, allocations: 0.6547 MB / 0.8949 GB, free: 1.613 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001651/1.014, allocations: 89.47 kB / 0.895 GB, free: 1.613 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005311/1.02, allocations: 2.696 MB / 0.8977 GB, free: 1.586 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005339/1.02, allocations: 0.5384 MB / 0.8982 GB, free: 1.582 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0008984/1.021, allocations: 0.7278 MB / 0.8989 GB, free: 1.582 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004955/1.026, allocations: 3.134 MB / 0.902 GB, free: 1.414 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/1.026, allocations: 1.312 kB / 0.902 GB, free: 1.414 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.653e-06/1.026, allocations: 0.8125 kB / 0.902 GB, free: 1.414 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.379e-05/1.026, allocations: 0 / 0.902 GB, free: 1.414 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.00236/1.028, allocations: 1.786 MB / 0.9037 GB, free: 16.45 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/1.028, allocations: 10.06 kB / 0.9037 GB, free: 16.45 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001738/1.029, allocations: 167.5 kB / 0.9039 GB, free: 16.4 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001615/1.03, allocations: 378.2 kB / 0.9042 GB, free: 16.32 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/1.032, allocations: 0.9666 MB / 0.9052 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.989e-05/1.032, allocations: 77.92 kB / 0.9053 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001343/1.032, allocations: 98.59 kB / 0.9054 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001751/1.034, allocations: 1.514 MB / 0.9068 GB, free: 15.67 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/1.034, allocations: 5.812 kB / 0.9068 GB, free: 15.67 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.813e-05/1.034, allocations: 52.39 kB / 0.9069 GB, free: 15.66 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.143e-05/1.034, allocations: 56.83 kB / 0.9069 GB, free: 15.66 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/1.035, allocations: 1.019 MB / 0.9079 GB, free: 15.66 MB / 0.7012 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.005529/1.04, allocations: 5.832 MB / 0.9136 GB, free: 12.2 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005006/1.041, allocations: 321 kB / 0.9139 GB, free: 12.11 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002361/1.041, allocations: 252.8 kB / 0.9142 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007311/1.042, allocations: 0.7054 MB / 0.9149 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/1.042, allocations: 49.83 kB / 0.9149 GB, free: 11.28 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=28): time 2.424e-06/1.042, allocations: 0 / 0.9149 GB, free: 11.28 MB / 0.7012 GB Notification: Performance of matching and sorting (n=28): time 0.001167/1.043, allocations: 0.6777 MB / 0.9156 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.15e-05/1.043, allocations: 139.6 kB / 0.9157 GB, free: 11.01 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001573/1.045, allocations: 1.658 MB / 0.9173 GB, free: 10.84 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 4.045e-05/1.045, allocations: 36.02 kB / 0.9174 GB, free: 10.81 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004223/1.045, allocations: 0.5547 MB / 0.9179 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 7.792e-05/1.045, allocations: 96.34 kB / 0.918 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/1.046, allocations: 74.42 kB / 0.9181 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001394/1.046, allocations: 317.4 kB / 0.9184 GB, free: 10.3 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001746/1.046, allocations: 162 kB / 0.9185 GB, free: 10.3 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002893/1.046, allocations: 289.8 kB / 0.9188 GB, free: 10.21 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004193/1.047, allocations: 429.2 kB / 0.9192 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/1.047, allocations: 4 kB / 0.9192 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006651/1.047, allocations: 0.5623 MB / 0.9198 GB, free: 10.01 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/1.047, allocations: 8.828 kB / 0.9198 GB, free: 10.01 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/1.047, allocations: 3.594 kB / 0.9198 GB, free: 10.01 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/1.047, allocations: 3.656 kB / 0.9198 GB, free: 10.01 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002327/1.048, allocations: 64.56 kB / 0.9198 GB, free: 10 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/1.048, allocations: 3 kB / 0.9198 GB, free: 10 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005877/1.048, allocations: 109.8 kB / 0.9199 GB, free: 9.93 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.113e-05/1.048, allocations: 23.89 kB / 0.92 GB, free: 9.93 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003808/1.049, allocations: 382.3 kB / 0.9203 GB, free: 9.812 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002005/1.049, allocations: 143 kB / 0.9205 GB, free: 9.734 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005009/1.049, allocations: 382 kB / 0.9208 GB, free: 9.652 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/1.049, allocations: 6.875 kB / 0.9208 GB, free: 9.648 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/1.049, allocations: 3.844 kB / 0.9208 GB, free: 9.648 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/1.049, allocations: 0 / 0.9208 GB, free: 9.648 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003156/1.053, allocations: 2.513 MB / 0.9233 GB, free: 8.684 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/1.053, allocations: 12.78 kB / 0.9233 GB, free: 8.68 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001693/1.053, allocations: 48.06 kB / 0.9234 GB, free: 8.68 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/1.053, allocations: 8.156 kB / 0.9234 GB, free: 8.68 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.546e-05/1.053, allocations: 19.97 kB / 0.9234 GB, free: 8.68 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/1.053, allocations: 6.766 kB / 0.9234 GB, free: 8.68 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-06/1.053, allocations: 12.06 kB / 0.9234 GB, free: 8.68 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006608/1.053, allocations: 0.6332 MB / 0.924 GB, free: 8.328 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003827/1.054, allocations: 300 kB / 0.9243 GB, free: 8.148 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001536/1.054, allocations: 18.89 kB / 0.9243 GB, free: 8.148 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003295/1.054, allocations: 9.719 kB / 0.9243 GB, free: 8.148 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.065e-05/1.054, allocations: 36.14 kB / 0.9244 GB, free: 8.145 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.883e-05/1.054, allocations: 17.53 kB / 0.9244 GB, free: 8.145 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001234/1.056, allocations: 1.211 MB / 0.9256 GB, free: 8.031 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.7e-07/1.056, allocations: 0.875 kB / 0.9256 GB, free: 8.031 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0009816/1.057, allocations: 330.2 kB / 0.9259 GB, free: 7.992 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002208/1.059, allocations: 1.664 MB / 0.9275 GB, free: 7.074 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0004805/1.059, allocations: 360.6 kB / 0.9279 GB, free: 7.066 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/1.059, allocations: 3.188 kB / 0.9279 GB, free: 7.066 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0001605/1.06, allocations: 158.2 kB / 0.928 GB, free: 7.066 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003451/1.063, allocations: 0.9302 MB / 0.9289 GB, free: 6.891 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01176/1.075, allocations: 10.41 MB / 0.9391 GB, free: 4.176 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008431/1.076, allocations: 1.201 MB / 0.9403 GB, free: 3.461 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0009542/1.077, allocations: 300.8 kB / 0.9405 GB, free: 3.402 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004343/1.077, allocations: 459.2 kB / 0.941 GB, free: 3.395 MB / 0.7012 GB Notification: Performance of SimCode: time 7.32e-07/1.077, allocations: 3.938 kB / 0.941 GB, free: 3.391 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08082/1.158, allocations: 43.78 MB / 0.9837 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.18/11.34, allocations: 3.984 kB / 0.9837 GB, free: 15.15 MB / 0.7481 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1)