Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007573/0.007573, allocations: 171.4 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7618/0.7618, allocations: 135.2 MB / 151 MB, free: 13.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 223.2 MB / 406.8 MB, free: 3.141 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 101.9 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003931/0.0003933, allocations: 12 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5056/0.506, allocations: 82.3 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.833/5.34, allocations: 1.828 GB / 2.478 GB, free: 150 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/5.34, allocations: 83.95 kB / 2.478 GB, free: 150 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.7847/6.125, allocations: 217.4 MB / 2.69 GB, free: 199.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.332e-06/6.125, allocations: 0 / 2.69 GB, free: 199.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.223e-05/6.125, allocations: 9.547 kB / 2.69 GB, free: 199.1 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001803/6.127, allocations: 0.6452 MB / 2.691 GB, free: 198.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/6.127, allocations: 12.03 kB / 2.691 GB, free: 198.6 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.602e-05/6.127, allocations: 54.48 kB / 2.691 GB, free: 198.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002442/6.127, allocations: 43.69 kB / 2.691 GB, free: 198.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005292/6.127, allocations: 299.9 kB / 2.691 GB, free: 198.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/6.127, allocations: 12 kB / 2.691 GB, free: 198.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.127e-05/6.127, allocations: 17.55 kB / 2.691 GB, free: 198.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004231/6.128, allocations: 242.6 kB / 2.692 GB, free: 197.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/6.128, allocations: 4 kB / 2.692 GB, free: 197.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/6.128, allocations: 4 kB / 2.692 GB, free: 197.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.786e-05/6.128, allocations: 8.328 kB / 2.692 GB, free: 197.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000413/6.128, allocations: 220.5 kB / 2.692 GB, free: 197.7 MB / 0.6823 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.001259/6.13, allocations: 0.8877 MB / 2.693 GB, free: 196.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00029/6.13, allocations: 145.8 kB / 2.693 GB, free: 196.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002288/6.13, allocations: 194.1 kB / 2.693 GB, free: 196.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/6.13, allocations: 34.56 kB / 2.693 GB, free: 196.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/6.13, allocations: 0 / 2.693 GB, free: 196.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14): time 0.000858/6.131, allocations: 361.3 kB / 2.693 GB, free: 196 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/6.131, allocations: 51.41 kB / 2.693 GB, free: 195.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/6.131, allocations: 216.2 kB / 2.694 GB, free: 195.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/6.131, allocations: 29.7 kB / 2.694 GB, free: 195.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.967e-05/6.131, allocations: 130.8 kB / 2.694 GB, free: 195.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.509e-05/6.131, allocations: 53.77 kB / 2.694 GB, free: 195.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.082e-05/6.131, allocations: 0 / 2.694 GB, free: 195.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.243e-05/6.132, allocations: 334.8 kB / 2.694 GB, free: 195.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001911/6.132, allocations: 87.92 kB / 2.694 GB, free: 195 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002213/6.132, allocations: 138.9 kB / 2.694 GB, free: 194.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001931/6.132, allocations: 91.92 kB / 2.694 GB, free: 194.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/6.132, allocations: 0 / 2.694 GB, free: 194.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004587/6.133, allocations: 253.2 kB / 2.695 GB, free: 194.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/6.133, allocations: 7.953 kB / 2.695 GB, free: 194.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/6.133, allocations: 4 kB / 2.695 GB, free: 194.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/6.133, allocations: 0 / 2.695 GB, free: 194.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000217/6.133, allocations: 47.89 kB / 2.695 GB, free: 194.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/6.133, allocations: 0 / 2.695 GB, free: 194.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002049/6.133, allocations: 31.8 kB / 2.695 GB, free: 194.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.296e-05/6.133, allocations: 15.98 kB / 2.695 GB, free: 194.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * 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.0001066/6.133, allocations: 137.8 kB / 2.695 GB, free: 194.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.091e-05/6.133, allocations: 19.75 kB / 2.695 GB, free: 194.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.822e-05/6.133, allocations: 37.78 kB / 2.695 GB, free: 194.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/6.133, allocations: 0 / 2.695 GB, free: 194.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/6.133, allocations: 4 kB / 2.695 GB, free: 194.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/6.133, allocations: 0 / 2.695 GB, free: 194.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/6.135, allocations: 0.7299 MB / 2.696 GB, free: 193.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/6.135, allocations: 0 / 2.696 GB, free: 193.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002278/6.135, allocations: 35.97 kB / 2.696 GB, free: 193.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/6.135, allocations: 7.938 kB / 2.696 GB, free: 193.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.185e-05/6.135, allocations: 4 kB / 2.696 GB, free: 193.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/6.135, allocations: 4 kB / 2.696 GB, free: 193.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/6.135, allocations: 8.156 kB / 2.696 GB, free: 193.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000601/6.135, allocations: 479.4 kB / 2.696 GB, free: 192.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/6.136, allocations: 119.8 kB / 2.696 GB, free: 192.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.106e-05/6.136, allocations: 4 kB / 2.696 GB, free: 192.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002519/6.136, allocations: 19.89 kB / 2.696 GB, free: 192.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.789e-05/6.136, allocations: 19.94 kB / 2.696 GB, free: 192.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/6.136, allocations: 4 kB / 2.696 GB, free: 192.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001385/6.136, allocations: 180.5 kB / 2.697 GB, free: 192.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/6.136, allocations: 0 / 2.697 GB, free: 192.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006425/6.137, allocations: 124 kB / 2.697 GB, free: 192.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (14): * Single equations (assignments): 14 * 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.001902/6.139, allocations: 2.268 MB / 2.699 GB, free: 190.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004837/6.139, allocations: 214.1 kB / 2.699 GB, free: 190 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/6.139, allocations: 0 / 2.699 GB, free: 190 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002201/6.139, allocations: 115.8 kB / 2.699 GB, free: 189.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005936/6.14, allocations: 125.6 kB / 2.699 GB, free: 189.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/6.142, allocations: 1.694 MB / 2.701 GB, free: 188 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001946/6.142, allocations: 0.7599 MB / 2.702 GB, free: 187.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002539/6.143, allocations: 69.91 kB / 2.702 GB, free: 187.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/6.143, allocations: 71.41 kB / 2.702 GB, free: 187 MB / 0.6823 GB Notification: Performance of SimCode: time 8.01e-07/6.143, allocations: 0 / 2.702 GB, free: 187 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03126/6.174, allocations: 20.31 MB / 2.722 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001552/6.174, allocations: 212.1 kB / 2.722 GB, free: 166.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.392/8.566, allocations: 4 kB / 2.722 GB, free: 166.6 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)