Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Validation.BoundaryWithXi_in,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="IDEAS_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.001085/0.001085, 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.001107/0.001107, allocations: 196.7 kB / 16.53 MB, free: 6.664 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.324/1.324, 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.7527/0.7527, allocations: 132.2 MB / 422.6 MB, free: 1.828 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 64.88 kB / 0.5019 GB, free: 3.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3787/0.3799, allocations: 80.2 MB / 0.5802 GB, free: 4.574 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.2161/0.5961, allocations: 214.1 MB / 0.7892 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01497/0.6111, allocations: 12.16 MB / 0.8011 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001236/0.6124, allocations: 43.69 kB / 0.8012 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001332/0.6137, allocations: 0.5002 MB / 0.8016 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004381/0.6181, allocations: 1.882 MB / 0.8035 GB, free: 12.08 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004132/0.6223, allocations: 1.897 MB / 0.8053 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002659/0.625, allocations: 2.375 MB / 0.8077 GB, free: 7.812 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001666/0.6266, allocations: 1.208 MB / 0.8088 GB, free: 6.586 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001308/0.628, allocations: 0.8172 MB / 0.8096 GB, free: 5.766 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008751/0.6288, allocations: 0.6612 MB / 0.8103 GB, free: 5.102 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001852/0.629, allocations: 92 kB / 0.8104 GB, free: 5.012 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005009/0.6341, allocations: 2.844 MB / 0.8131 GB, free: 2.16 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004959/0.6346, allocations: 0.5376 MB / 0.8137 GB, free: 1.621 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0008417/0.6354, allocations: 0.7231 MB / 0.8144 GB, free: 0.8945 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.3225/0.9579, allocations: 3.138 MB / 0.8174 GB, free: 9.199 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 9.337e-06/0.958, allocations: 4.125 kB / 0.8174 GB, free: 9.199 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.106e-06/0.958, allocations: 0 / 0.8174 GB, free: 9.199 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.288e-05/0.9581, allocations: 1.094 kB / 0.8174 GB, free: 9.199 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.00397/0.9621, allocations: 1.737 MB / 0.8191 GB, free: 8.395 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.9621, allocations: 9.656 kB / 0.8191 GB, free: 8.395 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002131/0.9623, allocations: 170.5 kB / 0.8193 GB, free: 8.352 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001976/0.9643, allocations: 369.3 kB / 0.8197 GB, free: 8.273 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001512/0.9658, allocations: 0.8911 MB / 0.8205 GB, free: 7.93 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.868e-05/0.9659, allocations: 75.75 kB / 0.8206 GB, free: 7.926 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001735/0.9661, allocations: 99.92 kB / 0.8207 GB, free: 7.926 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002352/0.9685, allocations: 1.513 MB / 0.8222 GB, free: 7.641 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.703e-05/0.9685, allocations: 5.531 kB / 0.8222 GB, free: 7.641 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/0.9686, allocations: 48.52 kB / 0.8222 GB, free: 7.641 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.006e-05/0.9687, allocations: 61.14 kB / 0.8223 GB, free: 7.641 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001607/0.9703, allocations: 1.015 MB / 0.8233 GB, free: 7.637 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.007305/0.9777, allocations: 5.928 MB / 0.8291 GB, free: 20.2 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005551/0.9782, allocations: 328.6 kB / 0.8294 GB, free: 20.1 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002885/0.9785, allocations: 248 kB / 0.8296 GB, free: 20.07 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006864/0.9792, allocations: 0.7044 MB / 0.8303 GB, free: 19.32 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.9793, allocations: 46.47 kB / 0.8303 GB, free: 19.27 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=28): time 3.276e-06/0.9793, allocations: 1.312 kB / 0.8303 GB, free: 19.27 MB / 0.6544 GB Notification: Performance of matching and sorting (n=28): time 0.001447/0.9807, allocations: 0.6661 MB / 0.831 GB, free: 19.17 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.838e-05/0.9808, allocations: 136.4 kB / 0.8311 GB, free: 19.02 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002103/0.9829, allocations: 1.659 MB / 0.8327 GB, free: 18.85 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.036e-05/0.983, allocations: 32.2 kB / 0.8328 GB, free: 18.82 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000404/0.9834, allocations: 0.552 MB / 0.8333 GB, free: 18.71 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.084e-05/0.9835, allocations: 89.97 kB / 0.8334 GB, free: 18.65 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.9836, allocations: 72.39 kB / 0.8335 GB, free: 18.63 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.431e-05/0.9837, allocations: 316.8 kB / 0.8338 GB, free: 18.32 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002229/0.9839, allocations: 163 kB / 0.8339 GB, free: 18.32 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003092/0.9842, allocations: 290.8 kB / 0.8342 GB, free: 18.23 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004725/0.9847, allocations: 440.6 kB / 0.8346 GB, free: 18.13 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.9847, allocations: 0.7188 kB / 0.8346 GB, free: 18.13 MB / 0.6544 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008402/0.9856, allocations: 0.5646 MB / 0.8352 GB, free: 18.02 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.9856, allocations: 11.06 kB / 0.8352 GB, free: 18.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.9856, allocations: 4.031 kB / 0.8352 GB, free: 18.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.9856, allocations: 4.625 kB / 0.8352 GB, free: 18.02 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002551/0.9859, allocations: 60.47 kB / 0.8353 GB, free: 18.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.9859, allocations: 4.688 kB / 0.8353 GB, free: 18.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006696/0.9866, allocations: 105.5 kB / 0.8354 GB, free: 17.95 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.852e-05/0.9866, allocations: 22.06 kB / 0.8354 GB, free: 17.95 MB / 0.6544 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.0004732/0.9871, allocations: 383.7 kB / 0.8358 GB, free: 17.83 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002174/0.9873, allocations: 139 kB / 0.8359 GB, free: 17.75 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005026/0.9878, allocations: 379.8 kB / 0.8362 GB, free: 17.68 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.9879, allocations: 5.25 kB / 0.8362 GB, free: 17.68 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.9879, allocations: 1.031 kB / 0.8363 GB, free: 17.68 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.9879, allocations: 0 / 0.8363 GB, free: 17.68 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003413/0.9913, allocations: 2.61 MB / 0.8388 GB, free: 16.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.9913, allocations: 9.375 kB / 0.8388 GB, free: 16.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001849/0.9915, allocations: 52.73 kB / 0.8389 GB, free: 16.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/0.9915, allocations: 8.281 kB / 0.8389 GB, free: 16.7 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/0.9916, allocations: 13.75 kB / 0.8389 GB, free: 16.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.965e-06/0.9916, allocations: 13.53 kB / 0.8389 GB, free: 16.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.782e-06/0.9916, allocations: 12.38 kB / 0.8389 GB, free: 16.7 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005633/0.9921, allocations: 0.6104 MB / 0.8395 GB, free: 16.36 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004668/0.9926, allocations: 291.1 kB / 0.8398 GB, free: 16.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001705/0.9928, allocations: 16.61 kB / 0.8398 GB, free: 16.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000361/0.9932, allocations: 13.41 kB / 0.8398 GB, free: 16.18 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.713e-05/0.9932, allocations: 42.05 kB / 0.8398 GB, free: 16.18 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-05/0.9933, allocations: 13 kB / 0.8399 GB, free: 16.18 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001255/0.9945, allocations: 1.211 MB / 0.841 GB, free: 16.07 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9945, allocations: 0.625 kB / 0.841 GB, free: 16.07 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001265/0.9958, allocations: 334.8 kB / 0.8414 GB, free: 16.04 MB / 0.6544 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.00242/0.9982, allocations: 1.678 MB / 0.843 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000498/0.9987, allocations: 362.5 kB / 0.8433 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.9988, allocations: 4.406 kB / 0.8434 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.9989, allocations: 163.3 kB / 0.8435 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003725/1.003, allocations: 0.923 MB / 0.8444 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01243/1.015, allocations: 11.39 MB / 0.8555 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006983/1.016, allocations: 1.199 MB / 0.8567 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001077/1.017, allocations: 298.2 kB / 0.857 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004558/1.017, allocations: 463.7 kB / 0.8574 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of SimCode: time 9.52e-07/1.017, allocations: 0 / 0.8574 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07386/1.091, allocations: 42.87 MB / 0.8993 GB, free: 5.285 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.297/9.388, allocations: 4 kB / 0.8993 GB, free: 5.281 MB / 0.67 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1)