Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithX_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.BoundaryWithX_in,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Validation_BoundaryWithX_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.001475/0.001475, allocations: 108 kB / 15.61 MB, free: 148 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.00134/0.001341, allocations: 196.5 kB / 16.53 MB, free: 6.656 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.348/1.348, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.043/1.043, allocations: 135.1 MB / 425.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 63.34 kB / 0.5054 GB, free: 5.211 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1458, allocations: 80.93 MB / 0.5845 GB, free: 4.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.BoundaryWithX_in): time 0.4631/0.6089, allocations: 214.1 MB / 0.7935 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0156/0.6245, allocations: 12.15 MB / 0.8054 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001447/0.626, allocations: 47.69 kB / 0.8054 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001445/0.6275, allocations: 0.5119 MB / 0.8059 GB, free: 9.945 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00525/0.6328, allocations: 1.87 MB / 0.8077 GB, free: 8.066 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004619/0.6374, allocations: 1.9 MB / 0.8096 GB, free: 6.176 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002803/0.6403, allocations: 2.342 MB / 0.8119 GB, free: 3.828 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001831/0.6421, allocations: 1.246 MB / 0.8131 GB, free: 2.574 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001557/0.6437, allocations: 0.825 MB / 0.8139 GB, free: 1.746 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001076/0.6448, allocations: 0.6534 MB / 0.8145 GB, free: 1.09 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002506/0.645, allocations: 88 kB / 0.8146 GB, free: 1.004 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005218/0.6502, allocations: 2.854 MB / 0.8174 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005866/0.6508, allocations: 0.5415 MB / 0.8179 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001073/0.6519, allocations: 0.7309 MB / 0.8187 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004613/0.6566, allocations: 3.167 MB / 0.8217 GB, free: 9.691 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.6566, allocations: 0 / 0.8217 GB, free: 9.691 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.432e-06/0.6566, allocations: 4 kB / 0.8218 GB, free: 9.688 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.242e-05/0.6567, allocations: 0 / 0.8218 GB, free: 9.688 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002854/0.6595, allocations: 1.748 MB / 0.8235 GB, free: 7.883 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.6596, allocations: 8.031 kB / 0.8235 GB, free: 7.875 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002621/0.6598, allocations: 176.7 kB / 0.8236 GB, free: 7.691 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001789/0.6616, allocations: 369.8 kB / 0.824 GB, free: 7.328 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001433/0.6631, allocations: 0.8917 MB / 0.8249 GB, free: 6.391 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.421e-05/0.6631, allocations: 82.06 kB / 0.8249 GB, free: 6.309 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001432/0.6633, allocations: 104 kB / 0.825 GB, free: 6.207 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002226/0.6655, allocations: 1.525 MB / 0.8265 GB, free: 4.57 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/0.6656, allocations: 0 / 0.8265 GB, free: 4.57 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/0.6657, allocations: 55.94 kB / 0.8266 GB, free: 4.516 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.098e-05/0.6657, allocations: 65.47 kB / 0.8266 GB, free: 4.449 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/0.6672, allocations: 1.025 MB / 0.8276 GB, free: 3.43 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.007447/0.6747, allocations: 5.959 MB / 0.8335 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006022/0.6753, allocations: 330.1 kB / 0.8338 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002868/0.6756, allocations: 247.4 kB / 0.834 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007033/0.6763, allocations: 0.7158 MB / 0.8347 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.6764, allocations: 34.56 kB / 0.8347 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=28): time 2.545e-06/0.6764, allocations: 0 / 0.8347 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of matching and sorting (n=28): time 0.001357/0.6778, allocations: 0.675 MB / 0.8354 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.76e-05/0.6778, allocations: 136.5 kB / 0.8355 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002201/0.68, allocations: 1.682 MB / 0.8372 GB, free: 9.102 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.988e-05/0.6801, allocations: 29.7 kB / 0.8372 GB, free: 9.066 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005002/0.6806, allocations: 0.5621 MB / 0.8378 GB, free: 8.5 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.535e-05/0.6807, allocations: 90.66 kB / 0.8378 GB, free: 8.41 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.6808, allocations: 69.62 kB / 0.8379 GB, free: 8.336 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.261e-05/0.6809, allocations: 318 kB / 0.8382 GB, free: 8.02 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001999/0.6811, allocations: 155.9 kB / 0.8384 GB, free: 7.867 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003145/0.6815, allocations: 271.4 kB / 0.8386 GB, free: 7.574 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004622/0.6819, allocations: 408.2 kB / 0.839 GB, free: 7.145 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.6819, allocations: 0 / 0.839 GB, free: 7.145 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008489/0.6828, allocations: 0.5481 MB / 0.8395 GB, free: 6.59 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.6828, allocations: 4 kB / 0.8395 GB, free: 6.586 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.6828, allocations: 4 kB / 0.8396 GB, free: 6.582 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.6829, allocations: 4 kB / 0.8396 GB, free: 6.578 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002337/0.6831, allocations: 55.86 kB / 0.8396 GB, free: 6.523 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.6831, allocations: 7.984 kB / 0.8396 GB, free: 6.516 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005566/0.6837, allocations: 102.6 kB / 0.8397 GB, free: 6.414 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.385e-05/0.6837, allocations: 24.12 kB / 0.8397 GB, free: 6.391 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (30): * Single equations (assignments): 30 * 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.0004299/0.6842, allocations: 381.6 kB / 0.8401 GB, free: 6.008 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002396/0.6844, allocations: 142.2 kB / 0.8402 GB, free: 5.867 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005862/0.685, allocations: 382.8 kB / 0.8406 GB, free: 5.477 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.685, allocations: 11.92 kB / 0.8406 GB, free: 5.465 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.6851, allocations: 0 / 0.8406 GB, free: 5.465 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.6851, allocations: 8 kB / 0.8406 GB, free: 5.457 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003671/0.6887, allocations: 2.607 MB / 0.8432 GB, free: 2.668 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/0.6888, allocations: 8 kB / 0.8432 GB, free: 2.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001998/0.689, allocations: 56 kB / 0.8432 GB, free: 2.605 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-06/0.689, allocations: 8 kB / 0.8432 GB, free: 2.598 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.606e-05/0.689, allocations: 12 kB / 0.8432 GB, free: 2.586 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-06/0.689, allocations: 7.938 kB / 0.8433 GB, free: 2.578 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/0.689, allocations: 11.94 kB / 0.8433 GB, free: 2.566 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006889/0.6897, allocations: 0.6223 MB / 0.8439 GB, free: 1.844 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004445/0.6902, allocations: 295.2 kB / 0.8442 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002335/0.6904, allocations: 19.92 kB / 0.8442 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004/0.6908, allocations: 12 kB / 0.8442 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.49e-05/0.6909, allocations: 43.78 kB / 0.8442 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.141e-05/0.6909, allocations: 16 kB / 0.8442 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001543/0.6925, allocations: 1.227 MB / 0.8454 GB, free: 228 kB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6925, allocations: 0 / 0.8454 GB, free: 228 kB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009781/0.6935, allocations: 335.8 kB / 0.8458 GB, free: 15.89 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.00261/0.6961, allocations: 1.684 MB / 0.8474 GB, free: 14.11 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0005642/0.6967, allocations: 354.8 kB / 0.8477 GB, free: 13.77 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.288e-05/0.6967, allocations: 4 kB / 0.8477 GB, free: 13.77 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002048/0.6969, allocations: 157.5 kB / 0.8479 GB, free: 13.61 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003881/0.7008, allocations: 0.931 MB / 0.8488 GB, free: 12.74 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01428/0.7151, allocations: 11.53 MB / 0.8601 GB, free: 0.625 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2253/0.9405, allocations: 1.204 MB / 0.8612 GB, free: 220.7 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009611/0.9415, allocations: 298.2 kB / 0.8615 GB, free: 220.7 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004363/0.9419, allocations: 464.2 kB / 0.862 GB, free: 220.7 MB / 0.67 GB Notification: Performance of SimCode: time 1.042e-06/0.9419, allocations: 3.312 kB / 0.862 GB, free: 220.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0688/1.011, allocations: 43.1 MB / 0.9041 GB, free: 211.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.213/9.224, allocations: 8.453 kB / 0.9041 GB, free: 211.7 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithX_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_BoundaryWithX_in.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1)