Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.BoundaryWithX_in,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="IDEAS_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.001662/0.001662, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.002158/0.002157, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.595/2.595, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.202/1.202, allocations: 132.2 MB / 423.2 MB, free: 2.188 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005252/0.0005255, allocations: 8 kB / 0.5033 GB, free: 4.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8228/0.8234, allocations: 81.57 MB / 0.583 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.BoundaryWithX_in): time 0.3466/1.17, allocations: 171.4 MB / 0.7504 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02497/1.195, allocations: 10.58 MB / 0.7607 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003021/1.198, allocations: 47.56 kB / 0.7607 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003406/1.202, allocations: 0.6065 MB / 0.7613 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007916/1.21, allocations: 1.445 MB / 0.7627 GB, free: 8.066 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.008043/1.218, allocations: 1.678 MB / 0.7644 GB, free: 6.414 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004504/1.222, allocations: 1.329 MB / 0.7657 GB, free: 5.082 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002193/1.224, allocations: 0.9333 MB / 0.7666 GB, free: 4.137 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001921/1.226, allocations: 0.5994 MB / 0.7672 GB, free: 3.535 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008237/1.227, allocations: 438 kB / 0.7676 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001205/1.227, allocations: 36 kB / 0.7676 GB, free: 3.07 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006993/1.234, allocations: 1.689 MB / 0.7693 GB, free: 1.379 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007401/1.235, allocations: 454.8 kB / 0.7697 GB, free: 0.9336 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006084/1.236, allocations: 309 kB / 0.77 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004724/1.24, allocations: 2.093 MB / 0.7721 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/1.241, allocations: 0 / 0.7721 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.597e-06/1.241, allocations: 0 / 0.7721 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.285e-05/1.241, allocations: 0 / 0.7721 GB, free: 14.53 MB / 0.6075 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.00346/1.244, allocations: 1.45 MB / 0.7735 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.556e-05/1.244, allocations: 8.031 kB / 0.7735 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003957/1.245, allocations: 168.8 kB / 0.7736 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003219/1.248, allocations: 389.7 kB / 0.774 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003289/1.251, allocations: 0.8457 MB / 0.7748 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001682/1.251, allocations: 78.06 kB / 0.7749 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002616/1.252, allocations: 100 kB / 0.775 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004277/1.256, allocations: 1.518 MB / 0.7765 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.786e-05/1.256, allocations: 3.938 kB / 0.7765 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001617/1.256, allocations: 55.98 kB / 0.7765 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001586/1.256, allocations: 65.48 kB / 0.7766 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002713/1.259, allocations: 1.009 MB / 0.7776 GB, free: 8.629 MB / 0.6075 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.01145/1.27, allocations: 5.836 MB / 0.7833 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009402/1.271, allocations: 318.2 kB / 0.7836 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006369/1.272, allocations: 364.5 kB / 0.7839 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.636e-05/1.272, allocations: 46.7 kB / 0.784 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=28): time 5.971e-06/1.272, allocations: 3.984 kB / 0.784 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of matching and sorting (n=28): time 0.002122/1.274, allocations: 0.6644 MB / 0.7846 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/1.274, allocations: 132.5 kB / 0.7848 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003803/1.278, allocations: 1.674 MB / 0.7864 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.000108/1.278, allocations: 33.64 kB / 0.7864 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009407/1.279, allocations: 0.5583 MB / 0.787 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001574/1.28, allocations: 94.64 kB / 0.7871 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.416e-05/1.28, allocations: 4 kB / 0.7871 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002908/1.28, allocations: 321.9 kB / 0.7874 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003594/1.28, allocations: 163.8 kB / 0.7875 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005375/1.281, allocations: 266 kB / 0.7878 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004926/1.281, allocations: 184 kB / 0.788 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.297e-06/1.281, allocations: 7.938 kB / 0.788 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001472/1.283, allocations: 0.5502 MB / 0.7885 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.097e-05/1.283, allocations: 4 kB / 0.7885 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/1.283, allocations: 4 kB / 0.7885 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.861e-05/1.283, allocations: 4 kB / 0.7885 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003838/1.283, allocations: 55.91 kB / 0.7886 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/1.283, allocations: 0 / 0.7886 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009781/1.284, allocations: 118.7 kB / 0.7887 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.762e-05/1.284, allocations: 24 kB / 0.7887 GB, free: 12.71 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008758/1.285, allocations: 381.6 kB / 0.7891 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003688/1.286, allocations: 134.3 kB / 0.7892 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009038/1.287, allocations: 388.9 kB / 0.7896 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/1.287, allocations: 8 kB / 0.7896 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/1.287, allocations: 0 / 0.7896 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/1.287, allocations: 7.984 kB / 0.7896 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005499/1.292, allocations: 2.493 MB / 0.792 GB, free: 9.105 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.78e-05/1.292, allocations: 12.03 kB / 0.792 GB, free: 9.094 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003323/1.293, allocations: 47.92 kB / 0.7921 GB, free: 9.047 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.479e-05/1.293, allocations: 11.98 kB / 0.7921 GB, free: 9.035 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.399e-05/1.293, allocations: 12 kB / 0.7921 GB, free: 9.023 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.448e-05/1.293, allocations: 11.94 kB / 0.7921 GB, free: 9.012 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.69e-05/1.293, allocations: 7.938 kB / 0.7921 GB, free: 9.004 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001537/1.294, allocations: 0.9886 MB / 0.7931 GB, free: 7.75 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009245/1.295, allocations: 307.2 kB / 0.7934 GB, free: 7.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002711/1.295, allocations: 19.95 kB / 0.7934 GB, free: 7.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006956/1.296, allocations: 27.77 kB / 0.7934 GB, free: 7.383 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.117e-05/1.296, allocations: 35.88 kB / 0.7935 GB, free: 7.348 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.518e-05/1.296, allocations: 16 kB / 0.7935 GB, free: 7.332 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002822/1.299, allocations: 1.199 MB / 0.7946 GB, free: 6.137 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.1e-07/1.299, allocations: 0 / 0.7946 GB, free: 6.137 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002054/1.301, allocations: 331.8 kB / 0.795 GB, free: 5.812 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005201/1.306, allocations: 3.55 MB / 0.7984 GB, free: 2.074 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009559/1.307, allocations: 340.1 kB / 0.7988 GB, free: 1.742 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/1.307, allocations: 0 / 0.7988 GB, free: 1.742 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003243/1.308, allocations: 160.2 kB / 0.7989 GB, free: 1.586 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006673/1.315, allocations: 0.8434 MB / 0.7997 GB, free: 0.7656 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02455/1.339, allocations: 9.213 MB / 0.8087 GB, free: 7.09 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001523/1.341, allocations: 1.236 MB / 0.8099 GB, free: 5.824 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002222/1.343, allocations: 294.6 kB / 0.8102 GB, free: 5.531 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009134/1.344, allocations: 463.2 kB / 0.8107 GB, free: 5.078 MB / 0.6387 GB Notification: Performance of SimCode: time 2.504e-06/1.344, allocations: 0 / 0.8107 GB, free: 5.078 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7707/2.115, allocations: 41.46 MB / 0.8511 GB, free: 198.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003011/2.115, allocations: 209.2 kB / 0.8513 GB, free: 197.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.693/6.808, allocations: 0 / 0.8513 GB, free: 197.9 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Validation_BoundaryWithX_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Validation_BoundaryWithX_in.fmu > IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) Environment - environmentSimulation: