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.001015/0.001016, 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.001006/0.001006, allocations: 194.1 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.25/1.25, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9083/0.9083, allocations: 135.1 MB / 425.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 68.25 kB / 0.5054 GB, free: 5.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.151, allocations: 80.92 MB / 0.5845 GB, free: 4.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.BoundaryWithX_in): time 0.4877/0.6388, allocations: 214 MB / 0.7935 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01561/0.6544, allocations: 12.17 MB / 0.8054 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001878/0.6564, allocations: 43.69 kB / 0.8054 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001465/0.6579, allocations: 0.508 MB / 0.8059 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00503/0.6629, allocations: 1.874 MB / 0.8077 GB, free: 8.227 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004671/0.6676, allocations: 1.894 MB / 0.8096 GB, free: 6.34 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002799/0.6705, allocations: 2.346 MB / 0.8119 GB, free: 3.988 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001811/0.6723, allocations: 1.237 MB / 0.8131 GB, free: 2.738 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001563/0.6738, allocations: 0.8249 MB / 0.8139 GB, free: 1.91 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00101/0.6749, allocations: 0.6573 MB / 0.8145 GB, free: 1.25 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000212/0.6751, allocations: 92 kB / 0.8146 GB, free: 1.16 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005243/0.6803, allocations: 2.851 MB / 0.8174 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005451/0.6809, allocations: 0.5377 MB / 0.8179 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.000999/0.6819, allocations: 0.7386 MB / 0.8187 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004522/0.6864, allocations: 3.163 MB / 0.8217 GB, free: 9.852 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/0.6865, allocations: 4 kB / 0.8217 GB, free: 9.848 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.323e-06/0.6865, allocations: 0 / 0.8217 GB, free: 9.848 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.369e-05/0.6865, allocations: 0 / 0.8217 GB, free: 9.848 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.002683/0.6892, allocations: 1.748 MB / 0.8235 GB, free: 8.043 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.6893, allocations: 12.03 kB / 0.8235 GB, free: 8.031 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002243/0.6895, allocations: 176.7 kB / 0.8236 GB, free: 7.848 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001714/0.6912, allocations: 369.8 kB / 0.824 GB, free: 7.484 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001431/0.6927, allocations: 0.8956 MB / 0.8249 GB, free: 6.543 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.132e-05/0.6928, allocations: 78.06 kB / 0.8249 GB, free: 6.465 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001405/0.6929, allocations: 100 kB / 0.825 GB, free: 6.367 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002213/0.6951, allocations: 1.529 MB / 0.8265 GB, free: 4.727 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/0.6952, allocations: 3.938 kB / 0.8265 GB, free: 4.723 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.895e-05/0.6953, allocations: 51.92 kB / 0.8266 GB, free: 4.672 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.15e-05/0.6954, allocations: 65.53 kB / 0.8266 GB, free: 4.605 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001485/0.6968, allocations: 1.025 MB / 0.8276 GB, free: 3.586 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.006554/0.7034, allocations: 5.965 MB / 0.8335 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000563/0.704, allocations: 314.2 kB / 0.8338 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002861/0.7043, allocations: 261.8 kB / 0.834 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006976/0.705, allocations: 0.7038 MB / 0.8347 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.705, allocations: 46.5 kB / 0.8347 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=28): time 2.504e-06/0.705, allocations: 0 / 0.8347 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of matching and sorting (n=28): time 0.001363/0.7064, allocations: 0.6678 MB / 0.8354 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.471e-05/0.7065, allocations: 140.5 kB / 0.8355 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002199/0.7087, allocations: 1.682 MB / 0.8372 GB, free: 9.258 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.353e-05/0.7088, allocations: 33.7 kB / 0.8372 GB, free: 9.219 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004794/0.7092, allocations: 0.5582 MB / 0.8378 GB, free: 8.656 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.691e-05/0.7093, allocations: 98.64 kB / 0.8378 GB, free: 8.559 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.7095, allocations: 61.69 kB / 0.8379 GB, free: 8.492 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.7096, allocations: 318 kB / 0.8382 GB, free: 8.176 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002031/0.7098, allocations: 155.9 kB / 0.8384 GB, free: 8.023 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002911/0.7101, allocations: 271.4 kB / 0.8386 GB, free: 7.73 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004585/0.7105, allocations: 409.1 kB / 0.839 GB, free: 7.301 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.7106, allocations: 4 kB / 0.839 GB, free: 7.297 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007374/0.7113, allocations: 0.5392 MB / 0.8395 GB, free: 6.75 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.7113, allocations: 8 kB / 0.8395 GB, free: 6.742 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.7113, allocations: 4.281 kB / 0.8396 GB, free: 6.738 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.7114, allocations: 7.984 kB / 0.8396 GB, free: 6.73 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/0.7116, allocations: 55.86 kB / 0.8396 GB, free: 6.676 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.7116, allocations: 7.984 kB / 0.8396 GB, free: 6.668 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005419/0.7122, allocations: 106.6 kB / 0.8397 GB, free: 6.562 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.4e-05/0.7122, allocations: 16 kB / 0.8397 GB, free: 6.547 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.0004239/0.7127, allocations: 377.6 kB / 0.8401 GB, free: 6.168 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002166/0.7129, allocations: 142.2 kB / 0.8402 GB, free: 6.027 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005406/0.7134, allocations: 394.7 kB / 0.8406 GB, free: 5.625 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.7134, allocations: 7.938 kB / 0.8406 GB, free: 5.617 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.7135, allocations: 0 / 0.8406 GB, free: 5.617 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.7135, allocations: 0 / 0.8406 GB, free: 5.617 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003467/0.7169, allocations: 2.615 MB / 0.8432 GB, free: 2.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.717, allocations: 4 kB / 0.8432 GB, free: 2.816 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001996/0.7172, allocations: 55.84 kB / 0.8432 GB, free: 2.762 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/0.7172, allocations: 8 kB / 0.8432 GB, free: 2.754 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.285e-05/0.7172, allocations: 12 kB / 0.8432 GB, free: 2.742 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.835e-06/0.7172, allocations: 8.625 kB / 0.8433 GB, free: 2.734 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/0.7172, allocations: 15.94 kB / 0.8433 GB, free: 2.719 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006602/0.7179, allocations: 0.6262 MB / 0.8439 GB, free: 1.992 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004031/0.7183, allocations: 287.2 kB / 0.8442 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001967/0.7185, allocations: 23.92 kB / 0.8442 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003712/0.7189, allocations: 8 kB / 0.8442 GB, free: 1.66 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.555e-05/0.719, allocations: 39.84 kB / 0.8442 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-05/0.719, allocations: 20 kB / 0.8442 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001516/0.7205, allocations: 1.227 MB / 0.8454 GB, free: 388 kB / 0.6544 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7205, allocations: 0 / 0.8454 GB, free: 388 kB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009311/0.7215, allocations: 335.8 kB / 0.8458 GB, free: 52 kB / 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.002414/0.7239, allocations: 1.676 MB / 0.8474 GB, free: 14.28 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0005167/0.7244, allocations: 351.6 kB / 0.8477 GB, free: 13.93 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.7244, allocations: 8.312 kB / 0.8477 GB, free: 13.93 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001933/0.7246, allocations: 159.6 kB / 0.8479 GB, free: 13.77 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003825/0.7285, allocations: 0.9335 MB / 0.8488 GB, free: 12.89 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01419/0.7427, allocations: 11.53 MB / 0.8601 GB, free: 0.7812 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2473/0.99, allocations: 1.206 MB / 0.8612 GB, free: 221.2 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001003/0.991, allocations: 297.9 kB / 0.8615 GB, free: 221.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005044/0.9915, allocations: 463.6 kB / 0.862 GB, free: 221.2 MB / 0.67 GB Notification: Performance of SimCode: time 7.51e-07/0.9916, allocations: 3.875 kB / 0.862 GB, free: 221.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1083/1.1, allocations: 43.1 MB / 0.9041 GB, free: 212.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.32/11.42, allocations: 7.422 kB / 0.9041 GB, free: 212.3 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Validation_BoundaryWithX_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Validation_BoundaryWithX_in.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1)