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.001464/0.001465, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001902/0.001902, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.865/1.865, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.077/1.077, allocations: 135.1 MB / 425.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 76.14 kB / 0.505 GB, free: 5.539 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1542, allocations: 80.92 MB / 0.584 GB, free: 4.789 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.BoundaryWithX_in): time 0.5306/0.6848, allocations: 211.9 MB / 0.7909 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01253/0.6973, allocations: 12.16 MB / 0.8028 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001166/0.6985, allocations: 43.62 kB / 0.8029 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001145/0.6997, allocations: 437.4 kB / 0.8033 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003823/0.7036, allocations: 1.774 MB / 0.805 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003606/0.7072, allocations: 1.774 MB / 0.8067 GB, free: 9 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002456/0.7096, allocations: 2.353 MB / 0.809 GB, free: 6.641 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001478/0.7111, allocations: 1.166 MB / 0.8102 GB, free: 5.469 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00121/0.7124, allocations: 0.8288 MB / 0.811 GB, free: 4.637 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008428/0.7132, allocations: 0.7353 MB / 0.8117 GB, free: 3.898 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001576/0.7134, allocations: 92 kB / 0.8118 GB, free: 3.809 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004366/0.7177, allocations: 3.252 MB / 0.815 GB, free: 0.5508 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004176/0.7182, allocations: 0.5533 MB / 0.8155 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006104/0.7188, allocations: 0.7348 MB / 0.8162 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003315/0.7221, allocations: 3.424 MB / 0.8196 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.7221, allocations: 0 / 0.8196 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7221, allocations: 0 / 0.8196 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.328e-05/0.7222, allocations: 0 / 0.8196 GB, free: 11.82 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.001793/0.724, allocations: 1.74 MB / 0.8213 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.724, allocations: 12.03 kB / 0.8213 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000245/0.7243, allocations: 172.7 kB / 0.8214 GB, free: 9.836 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001669/0.7259, allocations: 369.8 kB / 0.8218 GB, free: 9.473 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001214/0.7272, allocations: 0.8994 MB / 0.8227 GB, free: 8.527 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.928e-05/0.7272, allocations: 78 kB / 0.8228 GB, free: 8.449 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.7274, allocations: 104 kB / 0.8229 GB, free: 8.348 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00197/0.7293, allocations: 1.531 MB / 0.8243 GB, free: 6.707 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.578e-05/0.7294, allocations: 7.938 kB / 0.8244 GB, free: 6.699 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.141e-05/0.7295, allocations: 55.88 kB / 0.8244 GB, free: 6.645 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.856e-05/0.7295, allocations: 61.53 kB / 0.8245 GB, free: 6.582 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001279/0.7308, allocations: 1.021 MB / 0.8255 GB, free: 5.566 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.005506/0.7363, allocations: 5.972 MB / 0.8313 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004942/0.7369, allocations: 314.2 kB / 0.8316 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002582/0.7371, allocations: 251.4 kB / 0.8318 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005879/0.7377, allocations: 0.7039 MB / 0.8325 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.7378, allocations: 46.48 kB / 0.8326 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=28): time 1.934e-06/0.7378, allocations: 0 / 0.8326 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of matching and sorting (n=28): time 0.001147/0.7389, allocations: 0.6727 MB / 0.8332 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.252e-05/0.739, allocations: 140.4 kB / 0.8334 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002235/0.7412, allocations: 1.678 MB / 0.835 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.308e-05/0.7413, allocations: 33.7 kB / 0.835 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008029/0.7421, allocations: 0.5583 MB / 0.8356 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/0.7422, allocations: 94.64 kB / 0.8357 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001741/0.7424, allocations: 69.64 kB / 0.8357 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.7426, allocations: 318 kB / 0.836 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000397/0.743, allocations: 155.9 kB / 0.8362 GB, free: 10 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005651/0.7436, allocations: 267.7 kB / 0.8364 GB, free: 9.711 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008649/0.7445, allocations: 408.2 kB / 0.8368 GB, free: 9.281 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.7445, allocations: 8 kB / 0.8368 GB, free: 9.273 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001333/0.7458, allocations: 0.5396 MB / 0.8374 GB, free: 8.727 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.7459, allocations: 8 kB / 0.8374 GB, free: 8.719 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.7459, allocations: 0 / 0.8374 GB, free: 8.719 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.7459, allocations: 4 kB / 0.8374 GB, free: 8.715 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003967/0.7463, allocations: 59.84 kB / 0.8374 GB, free: 8.656 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/0.7464, allocations: 4.781 kB / 0.8374 GB, free: 8.652 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009152/0.7473, allocations: 118.7 kB / 0.8375 GB, free: 8.535 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-05/0.7474, allocations: 20 kB / 0.8376 GB, free: 8.516 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.0007112/0.7481, allocations: 378.7 kB / 0.8379 GB, free: 8.137 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003568/0.7485, allocations: 134.3 kB / 0.8381 GB, free: 8.004 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009219/0.7494, allocations: 394.9 kB / 0.8384 GB, free: 7.602 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.7494, allocations: 7.938 kB / 0.8384 GB, free: 7.594 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.7495, allocations: 0 / 0.8384 GB, free: 7.594 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.318e-06/0.7495, allocations: 7.922 kB / 0.8384 GB, free: 7.586 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006466/0.7559, allocations: 2.607 MB / 0.841 GB, free: 4.797 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-05/0.756, allocations: 4 kB / 0.841 GB, free: 4.793 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003443/0.7563, allocations: 55.86 kB / 0.8411 GB, free: 4.738 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.401e-05/0.7564, allocations: 8 kB / 0.8411 GB, free: 4.73 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.861e-05/0.7564, allocations: 12 kB / 0.8411 GB, free: 4.719 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-05/0.7564, allocations: 11.98 kB / 0.8411 GB, free: 4.707 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.47e-05/0.7565, allocations: 11.94 kB / 0.8411 GB, free: 4.695 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001316/0.7578, allocations: 0.6188 MB / 0.8417 GB, free: 3.977 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007947/0.7586, allocations: 295.2 kB / 0.842 GB, free: 3.668 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003226/0.759, allocations: 19.92 kB / 0.842 GB, free: 3.648 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008113/0.7598, allocations: 16 kB / 0.842 GB, free: 3.633 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.988e-05/0.7599, allocations: 31.86 kB / 0.842 GB, free: 3.602 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.354e-05/0.76, allocations: 19.98 kB / 0.8421 GB, free: 3.582 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.003376/0.7634, allocations: 1.231 MB / 0.8433 GB, free: 2.355 MB / 0.6544 GB Notification: Performance of sort global known variables: time 5.1e-07/0.7634, allocations: 0 / 0.8433 GB, free: 2.355 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00194/0.7653, allocations: 331.8 kB / 0.8436 GB, free: 2.031 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.005168/0.7705, allocations: 1.691 MB / 0.8452 GB, free: 248 kB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001304/0.7718, allocations: 355.7 kB / 0.8456 GB, free: 15.89 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.7719, allocations: 4.125 kB / 0.8456 GB, free: 15.89 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0004782/0.7724, allocations: 159.6 kB / 0.8457 GB, free: 15.73 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008497/0.7809, allocations: 0.92 MB / 0.8466 GB, free: 14.86 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0276/0.8085, allocations: 11.78 MB / 0.8581 GB, free: 2.508 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001357/0.81, allocations: 1.207 MB / 0.8593 GB, free: 1.273 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001451/0.8114, allocations: 298.7 kB / 0.8596 GB, free: 0.9766 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007376/0.8122, allocations: 467.3 kB / 0.86 GB, free: 0.5234 MB / 0.67 GB Notification: Performance of SimCode: time 1.082e-06/0.8122, allocations: 0 / 0.86 GB, free: 0.5234 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7969/1.609, allocations: 42.86 MB / 0.9019 GB, free: 213.6 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002671/1.609, allocations: 240.1 kB / 0.9021 GB, free: 213.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.098/7.708, allocations: 3.938 kB / 0.9021 GB, free: 213.4 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)