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.001577/0.001577, allocations: 108 kB / 15.6 MB, free: 132 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.002072/0.002072, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.396/1.396, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9314/0.9314, allocations: 135.1 MB / 425.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 63.7 kB / 0.5054 GB, free: 5.238 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1411, allocations: 80.93 MB / 0.5845 GB, free: 4.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.4441/0.5852, allocations: 214 MB / 0.7935 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01365/0.5989, allocations: 12.16 MB / 0.8054 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001302/0.6003, allocations: 43.69 kB / 0.8054 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0014/0.6017, allocations: 0.5041 MB / 0.8059 GB, free: 9.875 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004527/0.6063, allocations: 1.878 MB / 0.8077 GB, free: 7.988 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004339/0.6106, allocations: 1.904 MB / 0.8096 GB, free: 6.094 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002903/0.6135, allocations: 2.369 MB / 0.8119 GB, free: 3.719 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001518/0.6151, allocations: 1.208 MB / 0.8131 GB, free: 2.504 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001284/0.6164, allocations: 0.8249 MB / 0.8139 GB, free: 1.676 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009212/0.6173, allocations: 0.6535 MB / 0.8145 GB, free: 1.02 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001899/0.6175, allocations: 92 kB / 0.8146 GB, free: 0.9297 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005339/0.6229, allocations: 2.852 MB / 0.8174 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005077/0.6234, allocations: 0.5337 MB / 0.8179 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009403/0.6243, allocations: 0.727 MB / 0.8186 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004487/0.6288, allocations: 3.152 MB / 0.8217 GB, free: 9.645 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.6289, allocations: 3.984 kB / 0.8217 GB, free: 9.641 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.323e-06/0.6289, allocations: 0 / 0.8217 GB, free: 9.641 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.175e-05/0.6289, allocations: 0 / 0.8217 GB, free: 9.641 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.002504/0.6314, allocations: 1.729 MB / 0.8234 GB, free: 7.855 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.6315, allocations: 16.03 kB / 0.8234 GB, free: 7.84 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001824/0.6317, allocations: 172.6 kB / 0.8236 GB, free: 7.66 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001711/0.6334, allocations: 369.8 kB / 0.8239 GB, free: 7.297 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/0.6346, allocations: 0.8878 MB / 0.8248 GB, free: 6.363 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.169e-05/0.6347, allocations: 74.03 kB / 0.8249 GB, free: 6.289 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.6348, allocations: 100 kB / 0.825 GB, free: 6.191 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001854/0.6366, allocations: 1.505 MB / 0.8264 GB, free: 4.578 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/0.6367, allocations: 7.938 kB / 0.8265 GB, free: 4.57 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.4e-05/0.6368, allocations: 51.92 kB / 0.8265 GB, free: 4.52 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.587e-05/0.6369, allocations: 61.55 kB / 0.8266 GB, free: 4.453 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001296/0.6382, allocations: 1.017 MB / 0.8276 GB, free: 3.441 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.005941/0.6441, allocations: 5.923 MB / 0.8333 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005706/0.6447, allocations: 318.1 kB / 0.8336 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002754/0.645, allocations: 251.4 kB / 0.8339 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000684/0.6457, allocations: 0.7039 MB / 0.8346 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.6457, allocations: 42.5 kB / 0.8346 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=28): time 2.925e-06/0.6457, allocations: 3.938 kB / 0.8346 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of matching and sorting (n=28): time 0.001309/0.647, allocations: 0.6743 MB / 0.8353 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.78e-05/0.6471, allocations: 128.6 kB / 0.8354 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001871/0.649, allocations: 1.665 MB / 0.837 GB, free: 9.18 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.329e-05/0.6491, allocations: 29.7 kB / 0.8371 GB, free: 9.145 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004551/0.6495, allocations: 0.5502 MB / 0.8376 GB, free: 8.59 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.161e-05/0.6496, allocations: 98.55 kB / 0.8377 GB, free: 8.492 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.6497, allocations: 69.69 kB / 0.8377 GB, free: 8.418 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.6498, allocations: 321.9 kB / 0.8381 GB, free: 8.098 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002191/0.6501, allocations: 167.9 kB / 0.8382 GB, free: 7.934 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003246/0.6504, allocations: 290.1 kB / 0.8385 GB, free: 7.613 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005065/0.6509, allocations: 435.4 kB / 0.8389 GB, free: 7.152 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.6509, allocations: 0 / 0.8389 GB, free: 7.152 MB / 0.6544 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008219/0.6517, allocations: 0.562 MB / 0.8395 GB, free: 6.582 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.6518, allocations: 7.984 kB / 0.8395 GB, free: 6.574 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.6518, allocations: 4 kB / 0.8395 GB, free: 6.57 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.6518, allocations: 4 kB / 0.8395 GB, free: 6.566 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002439/0.6521, allocations: 51.92 kB / 0.8395 GB, free: 6.516 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.6521, allocations: 4 kB / 0.8395 GB, free: 6.512 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006309/0.6527, allocations: 114.7 kB / 0.8396 GB, free: 6.398 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.251e-05/0.6528, allocations: 27.94 kB / 0.8397 GB, free: 6.371 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.0005322/0.6533, allocations: 377.6 kB / 0.84 GB, free: 5.992 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002539/0.6536, allocations: 130.3 kB / 0.8401 GB, free: 5.863 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005413/0.6541, allocations: 384.8 kB / 0.8405 GB, free: 5.469 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.6541, allocations: 4 kB / 0.8405 GB, free: 5.465 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.6542, allocations: 3.938 kB / 0.8405 GB, free: 5.461 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.6542, allocations: 7.984 kB / 0.8405 GB, free: 5.453 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003727/0.6579, allocations: 2.595 MB / 0.8431 GB, free: 2.676 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.577e-06/0.6579, allocations: 8.156 kB / 0.8431 GB, free: 2.668 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/0.6581, allocations: 55.91 kB / 0.8431 GB, free: 2.613 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.261e-05/0.6582, allocations: 11.94 kB / 0.8431 GB, free: 2.602 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.464e-05/0.6582, allocations: 11.94 kB / 0.8431 GB, free: 2.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.159e-05/0.6582, allocations: 8 kB / 0.8432 GB, free: 2.582 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.446e-06/0.6582, allocations: 11.94 kB / 0.8432 GB, free: 2.57 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006923/0.6589, allocations: 0.616 MB / 0.8438 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004493/0.6594, allocations: 303.1 kB / 0.8441 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002187/0.6596, allocations: 19.92 kB / 0.8441 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003887/0.66, allocations: 8 kB / 0.8441 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.713e-05/0.6601, allocations: 35.86 kB / 0.8441 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.418e-05/0.6601, allocations: 16 kB / 0.8441 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001419/0.6615, allocations: 1.211 MB / 0.8453 GB, free: 260 kB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6615, allocations: 0 / 0.8453 GB, free: 260 kB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00119/0.6627, allocations: 343.8 kB / 0.8456 GB, free: 15.91 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.002478/0.6652, allocations: 1.671 MB / 0.8473 GB, free: 14.15 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0005337/0.6658, allocations: 367.4 kB / 0.8476 GB, free: 13.79 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.6658, allocations: 4 kB / 0.8476 GB, free: 13.79 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001894/0.666, allocations: 161.5 kB / 0.8478 GB, free: 13.63 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003724/0.6697, allocations: 0.927 MB / 0.8487 GB, free: 12.76 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01301/0.6827, allocations: 11.4 MB / 0.8598 GB, free: 0.7773 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2242/0.9069, allocations: 1.196 MB / 0.861 GB, free: 220.6 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009882/0.9079, allocations: 302.1 kB / 0.8613 GB, free: 220.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004374/0.9084, allocations: 459.5 kB / 0.8617 GB, free: 220.5 MB / 0.67 GB Notification: Performance of SimCode: time 1.042e-06/0.9084, allocations: 0 / 0.8617 GB, free: 220.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07017/0.9786, allocations: 42.87 MB / 0.9036 GB, free: 211.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.231/9.209, allocations: 1.625 kB / 0.9036 GB, free: 211.7 MB / 0.67 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)