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.004731/0.004731, allocations: 98.39 kB / 15.73 MB, free: 6.43 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.001249/0.001249, allocations: 191.8 kB / 16.67 MB, free: 6.336 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.79/0.79, allocations: 132.2 MB / 422.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0018/0.0018, allocations: 63.64 kB / 0.5809 GB, free: 1.125 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1515, allocations: 80.21 MB / 0.6592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.5747/0.7262, allocations: 214 MB / 0.8682 GB, free: 2.422 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01196/0.7382, allocations: 12.16 MB / 0.8801 GB, free: 2.125 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001831/0.7401, allocations: 44.12 kB / 0.8801 GB, free: 2.125 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001445/0.7415, allocations: 0.4998 MB / 0.8806 GB, free: 2.125 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004617/0.7462, allocations: 1.885 MB / 0.8825 GB, free: 2.047 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004212/0.7504, allocations: 1.904 MB / 0.8843 GB, free: 1.996 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002867/0.7533, allocations: 2.377 MB / 0.8866 GB, free: 1.945 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001326/0.7547, allocations: 1.204 MB / 0.8878 GB, free: 1.523 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001227/0.7559, allocations: 0.8327 MB / 0.8886 GB, free: 1.262 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005918/0.7565, allocations: 0.6508 MB / 0.8893 GB, free: 1.031 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001198/0.7566, allocations: 88.12 kB / 0.8894 GB, free: 1.031 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004761/0.7614, allocations: 2.703 MB / 0.892 GB, free: 0.5078 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004083/0.7618, allocations: 0.5408 MB / 0.8925 GB, free: 320 kB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007008/0.7625, allocations: 0.7247 MB / 0.8932 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005445/0.768, allocations: 3.13 MB / 0.8963 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.768, allocations: 0 / 0.8963 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.044e-06/0.768, allocations: 0 / 0.8963 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.435e-05/0.7681, allocations: 3.938 kB / 0.8963 GB, free: 15.03 MB / 0.6544 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.002561/0.7706, allocations: 1.791 MB / 0.898 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.7707, allocations: 10.84 kB / 0.898 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001847/0.7709, allocations: 166.9 kB / 0.8982 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001635/0.7725, allocations: 375.4 kB / 0.8986 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001443/0.774, allocations: 0.9661 MB / 0.8995 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.941e-05/0.774, allocations: 75.62 kB / 0.8996 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/0.7742, allocations: 102.5 kB / 0.8997 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001952/0.7761, allocations: 1.507 MB / 0.9011 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.779e-05/0.7762, allocations: 6.125 kB / 0.9012 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.501e-05/0.7763, allocations: 53.42 kB / 0.9012 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-05/0.7763, allocations: 63.36 kB / 0.9013 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001303/0.7776, allocations: 1.018 MB / 0.9023 GB, free: 11.92 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.006053/0.7837, allocations: 5.834 MB / 0.908 GB, free: 7.266 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005559/0.7843, allocations: 319.1 kB / 0.9083 GB, free: 7.055 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000271/0.7846, allocations: 251.6 kB / 0.9085 GB, free: 6.914 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007312/0.7853, allocations: 0.7108 MB / 0.9092 GB, free: 6.125 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/0.7853, allocations: 48.12 kB / 0.9092 GB, free: 6.078 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=28): time 2.725e-06/0.7853, allocations: 0 / 0.9092 GB, free: 6.078 MB / 0.6544 GB Notification: Performance of matching and sorting (n=28): time 0.001237/0.7866, allocations: 0.6705 MB / 0.9099 GB, free: 5.742 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.206e-05/0.7867, allocations: 135.2 kB / 0.91 GB, free: 5.586 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001834/0.7885, allocations: 1.652 MB / 0.9116 GB, free: 4.723 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.706e-05/0.7886, allocations: 31.92 kB / 0.9117 GB, free: 4.688 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.00054/0.7891, allocations: 0.5636 MB / 0.9122 GB, free: 4.195 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9.757e-05/0.7892, allocations: 103.7 kB / 0.9123 GB, free: 4.109 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.7894, allocations: 74.02 kB / 0.9124 GB, free: 4.062 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.7895, allocations: 313.9 kB / 0.9127 GB, free: 3.754 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002244/0.7897, allocations: 162.7 kB / 0.9128 GB, free: 3.676 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003571/0.7901, allocations: 294 kB / 0.9131 GB, free: 3.469 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005243/0.7906, allocations: 432 kB / 0.9135 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.7906, allocations: 1.25 kB / 0.9135 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007606/0.7914, allocations: 0.5726 MB / 0.9141 GB, free: 2.914 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.7914, allocations: 11.23 kB / 0.9141 GB, free: 2.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.7914, allocations: 2.469 kB / 0.9141 GB, free: 2.91 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.7915, allocations: 5.906 kB / 0.9141 GB, free: 2.91 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/0.7917, allocations: 54.39 kB / 0.9142 GB, free: 2.902 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.7917, allocations: 6.469 kB / 0.9142 GB, free: 2.902 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005419/0.7923, allocations: 110.6 kB / 0.9143 GB, free: 2.82 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.501e-05/0.7923, allocations: 22.88 kB / 0.9143 GB, free: 2.816 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.0004465/0.7928, allocations: 381.4 kB / 0.9147 GB, free: 2.551 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002009/0.793, allocations: 150.6 kB / 0.9148 GB, free: 2.465 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000536/0.7935, allocations: 373.4 kB / 0.9152 GB, free: 2.234 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.329e-06/0.7935, allocations: 3.406 kB / 0.9152 GB, free: 2.234 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.7935, allocations: 2.188 kB / 0.9152 GB, free: 2.234 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/0.7935, allocations: 3.984 kB / 0.9152 GB, free: 2.23 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003233/0.7968, allocations: 2.522 MB / 0.9176 GB, free: 344 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.7968, allocations: 2.844 kB / 0.9176 GB, free: 344 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/0.797, allocations: 53.03 kB / 0.9177 GB, free: 336 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.886e-06/0.797, allocations: 8.062 kB / 0.9177 GB, free: 336 kB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.316e-05/0.797, allocations: 11.53 kB / 0.9177 GB, free: 332 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.256e-06/0.797, allocations: 10.59 kB / 0.9177 GB, free: 332 kB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.7971, allocations: 10.16 kB / 0.9177 GB, free: 332 kB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007392/0.7978, allocations: 0.6332 MB / 0.9183 GB, free: 15.8 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004224/0.7982, allocations: 294.4 kB / 0.9186 GB, free: 15.57 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001625/0.7984, allocations: 17.05 kB / 0.9186 GB, free: 15.57 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003329/0.7987, allocations: 15.5 kB / 0.9187 GB, free: 15.56 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.724e-05/0.7988, allocations: 42.38 kB / 0.9187 GB, free: 15.54 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.316e-05/0.7989, allocations: 18.16 kB / 0.9187 GB, free: 15.53 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001546/0.8004, allocations: 1.203 MB / 0.9199 GB, free: 14.46 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8004, allocations: 4 kB / 0.9199 GB, free: 14.46 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001012/0.8014, allocations: 331.4 kB / 0.9202 GB, free: 14.14 MB / 0.67 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.002465/0.8039, allocations: 1.672 MB / 0.9218 GB, free: 12.4 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0006/0.8045, allocations: 360.2 kB / 0.9222 GB, free: 12.07 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.8045, allocations: 0 / 0.9222 GB, free: 12.07 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002108/0.8047, allocations: 159.7 kB / 0.9223 GB, free: 11.93 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003673/0.8084, allocations: 0.9237 MB / 0.9232 GB, free: 11.09 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01374/0.8222, allocations: 10.41 MB / 0.9334 GB, free: 400 kB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009045/0.8231, allocations: 1.207 MB / 0.9346 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0009393/0.8241, allocations: 298.7 kB / 0.9349 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005598/0.8246, allocations: 459.3 kB / 0.9353 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of SimCode: time 7.72e-07/0.8246, allocations: 0 / 0.9353 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08023/0.9049, allocations: 43.76 MB / 0.978 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.972/10.88, allocations: 7 kB / 0.978 GB, free: 3.148 MB / 0.7169 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)