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.001598/0.001598, allocations: 176.2 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7795/0.7795, allocations: 133.6 MB / 141.6 MB, free: 2.879 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 221.5 MB / 395.4 MB, free: 10.84 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.0009461/0.0009459, allocations: 100.2 kB / 478.2 MB, free: 1.332 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.408e-05/2.412e-05, allocations: 4 kB / 0.5535 GB, free: 8.977 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5257/0.5258, allocations: 82.3 MB / 0.6339 GB, free: 40.72 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.584/5.11, allocations: 1.828 GB / 2.462 GB, free: 212.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002185/5.11, allocations: 83.52 kB / 2.462 GB, free: 212.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.8561/5.966, allocations: 214.5 MB / 2.671 GB, free: 203 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.956e-06/5.966, allocations: 3.406 kB / 2.671 GB, free: 203 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.839e-05/5.966, allocations: 8.531 kB / 2.671 GB, free: 203 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.002147/5.968, allocations: 0.6247 MB / 2.672 GB, free: 202.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/5.968, allocations: 8.625 kB / 2.672 GB, free: 202.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003665/5.969, allocations: 46.55 kB / 2.672 GB, free: 202.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006378/5.969, allocations: 302.5 kB / 2.672 GB, free: 202.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/5.97, allocations: 4.406 kB / 2.672 GB, free: 202.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.873e-05/5.97, allocations: 10.22 kB / 2.672 GB, free: 202.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003552/5.97, allocations: 145.2 kB / 2.672 GB, free: 202.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003427/5.97, allocations: 206.4 kB / 2.672 GB, free: 202.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/5.97, allocations: 3.688 kB / 2.672 GB, free: 202.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.484e-05/5.97, allocations: 0 / 2.672 GB, free: 202.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.42e-05/5.97, allocations: 7.609 kB / 2.672 GB, free: 202.4 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.001507/5.972, allocations: 0.8292 MB / 2.673 GB, free: 202 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/5.972, allocations: 116.5 kB / 2.673 GB, free: 202 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/5.972, allocations: 96.3 kB / 2.673 GB, free: 202 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002653/5.973, allocations: 191.8 kB / 2.674 GB, free: 201.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/5.973, allocations: 30.56 kB / 2.674 GB, free: 201.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=14): time 2.094e-06/5.973, allocations: 2.844 kB / 2.674 GB, free: 201.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14): time 0.000571/5.973, allocations: 206.9 kB / 2.674 GB, free: 201.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.242e-05/5.973, allocations: 62.52 kB / 2.674 GB, free: 201.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/5.973, allocations: 159.1 kB / 2.674 GB, free: 201.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/5.973, allocations: 28.61 kB / 2.674 GB, free: 201.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.283e-05/5.973, allocations: 142.8 kB / 2.674 GB, free: 201.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/5.973, allocations: 45 kB / 2.674 GB, free: 201.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.202e-05/5.973, allocations: 0 / 2.674 GB, free: 201.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.85e-05/5.974, allocations: 324.9 kB / 2.675 GB, free: 201.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.842e-05/5.974, allocations: 66.73 kB / 2.675 GB, free: 201.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/5.974, allocations: 111.8 kB / 2.675 GB, free: 201.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/5.974, allocations: 72.52 kB / 2.675 GB, free: 201.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/5.974, allocations: 0 / 2.675 GB, free: 201.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002686/5.974, allocations: 195.2 kB / 2.675 GB, free: 201 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/5.974, allocations: 6.031 kB / 2.675 GB, free: 201 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/5.974, allocations: 7.75 kB / 2.675 GB, free: 201 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/5.974, allocations: 0 / 2.675 GB, free: 201 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002496/5.974, allocations: 38.88 kB / 2.675 GB, free: 201 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/5.975, allocations: 2.094 kB / 2.675 GB, free: 201 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/5.975, allocations: 21.53 kB / 2.675 GB, free: 201 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.597e-05/5.975, allocations: 15.17 kB / 2.675 GB, free: 201 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 () * 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 7.862e-05/5.975, allocations: 107.3 kB / 2.675 GB, free: 200.9 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002762/5.975, allocations: 195.3 kB / 2.675 GB, free: 200.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.829e-05/5.975, allocations: 14.97 kB / 2.675 GB, free: 200.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.549e-05/5.975, allocations: 27.12 kB / 2.675 GB, free: 200.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/5.975, allocations: 3.75 kB / 2.675 GB, free: 200.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/5.975, allocations: 9.547 kB / 2.675 GB, free: 200.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/5.975, allocations: 0 / 2.675 GB, free: 200.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007533/5.976, allocations: 0.6313 MB / 2.676 GB, free: 200.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/5.976, allocations: 2.312 kB / 2.676 GB, free: 200.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001882/5.976, allocations: 38.17 kB / 2.676 GB, free: 200.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.223e-06/5.976, allocations: 7.734 kB / 2.676 GB, free: 200.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/5.976, allocations: 7.359 kB / 2.676 GB, free: 200.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/5.976, allocations: 8.781 kB / 2.676 GB, free: 200.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/5.976, allocations: 2.25 kB / 2.676 GB, free: 200.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000354/5.977, allocations: 423.2 kB / 2.676 GB, free: 200.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.892e-05/5.977, allocations: 113.1 kB / 2.677 GB, free: 200.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.872e-05/5.977, allocations: 7.688 kB / 2.677 GB, free: 200.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001976/5.977, allocations: 18.62 kB / 2.677 GB, free: 200.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.005e-05/5.977, allocations: 12.2 kB / 2.677 GB, free: 200.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/5.977, allocations: 7.812 kB / 2.677 GB, free: 200.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.758e-05/5.977, allocations: 131.1 kB / 2.677 GB, free: 200.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/5.977, allocations: 2.75 kB / 2.677 GB, free: 200.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005743/5.978, allocations: 118.6 kB / 2.677 GB, free: 200 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 () * 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.002105/5.98, allocations: 2.331 MB / 2.679 GB, free: 198.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003012/5.98, allocations: 155.2 kB / 2.679 GB, free: 198.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/5.98, allocations: 0 / 2.679 GB, free: 198.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000137/5.98, allocations: 96.42 kB / 2.679 GB, free: 198.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005653/5.981, allocations: 96.7 kB / 2.679 GB, free: 198.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007437/5.982, allocations: 371.8 kB / 2.68 GB, free: 198.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002183/5.982, allocations: 0.7597 MB / 2.681 GB, free: 197.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002212/5.982, allocations: 65 kB / 2.681 GB, free: 197.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/5.982, allocations: 64.3 kB / 2.681 GB, free: 197.7 MB / 0.6823 GB Notification: Performance of SimCode: time 3.31e-07/5.982, allocations: 0 / 2.681 GB, free: 197.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03901/6.021, allocations: 11.71 MB / 2.692 GB, free: 197.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001489/6.021, allocations: 161.3 kB / 2.692 GB, free: 197.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.026/8.047, allocations: 3.938 kB / 2.692 GB, free: 197.4 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)