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.001619/0.001619, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8116/0.8116, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.588/1.588, allocations: 221.3 MB / 400.4 MB, free: 5.785 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008796/0.0008795, allocations: 94.88 kB / 483.3 MB, free: 5.812 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.434e-05/3.436e-05, allocations: 3.312 kB / 0.5601 GB, free: 87.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1487, allocations: 82.3 MB / 0.6405 GB, free: 7.719 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.49/4.639, allocations: 1.828 GB / 2.469 GB, free: 67.16 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/4.639, allocations: 83.64 kB / 2.469 GB, free: 67.12 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.8672/5.506, allocations: 217.2 MB / 2.681 GB, free: 129 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.603e-06/5.506, allocations: 0 / 2.681 GB, free: 129 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.662e-05/5.506, allocations: 4 kB / 2.681 GB, free: 129 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.001952/5.508, allocations: 0.6233 MB / 2.682 GB, free: 128.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/5.508, allocations: 8.031 kB / 2.682 GB, free: 128.3 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.98e-05/5.508, allocations: 54.55 kB / 2.682 GB, free: 128.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003288/5.509, allocations: 47.62 kB / 2.682 GB, free: 128.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006315/5.509, allocations: 300.5 kB / 2.682 GB, free: 127.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/5.509, allocations: 16 kB / 2.682 GB, free: 127.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.483e-05/5.51, allocations: 23.95 kB / 2.682 GB, free: 127.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003774/5.51, allocations: 222 kB / 2.682 GB, free: 127.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/5.51, allocations: 0 / 2.682 GB, free: 127.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/5.51, allocations: 4 kB / 2.682 GB, free: 127.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.754e-05/5.51, allocations: 20.3 kB / 2.682 GB, free: 127.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002737/5.51, allocations: 168.6 kB / 2.682 GB, free: 127.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.001521/5.512, allocations: 0.8837 MB / 2.683 GB, free: 126.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001949/5.512, allocations: 123.3 kB / 2.683 GB, free: 126.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/5.512, allocations: 96.81 kB / 2.684 GB, free: 126.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002677/5.512, allocations: 194.2 kB / 2.684 GB, free: 126 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/5.512, allocations: 38.5 kB / 2.684 GB, free: 125.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=14): time 1.813e-06/5.513, allocations: 0 / 2.684 GB, free: 125.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14): time 0.0005394/5.513, allocations: 218.3 kB / 2.684 GB, free: 125.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.874e-05/5.513, allocations: 55.41 kB / 2.684 GB, free: 125.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/5.513, allocations: 213.1 kB / 2.684 GB, free: 125.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/5.513, allocations: 29.7 kB / 2.684 GB, free: 125.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.568e-05/5.513, allocations: 140.3 kB / 2.684 GB, free: 125.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.37e-05/5.513, allocations: 43.36 kB / 2.684 GB, free: 125.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.136e-05/5.513, allocations: 4 kB / 2.684 GB, free: 125.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.064e-05/5.514, allocations: 334.8 kB / 2.685 GB, free: 124.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/5.514, allocations: 67.91 kB / 2.685 GB, free: 124.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/5.514, allocations: 125 kB / 2.685 GB, free: 124.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001148/5.514, allocations: 73.44 kB / 2.685 GB, free: 124.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/5.514, allocations: 3.938 kB / 2.685 GB, free: 124.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003057/5.514, allocations: 209.2 kB / 2.685 GB, free: 124.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/5.514, allocations: 4 kB / 2.685 GB, free: 124.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/5.514, allocations: 4.062 kB / 2.685 GB, free: 124.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/5.514, allocations: 4 kB / 2.685 GB, free: 124.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002222/5.515, allocations: 31.97 kB / 2.685 GB, free: 124.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/5.515, allocations: 4 kB / 2.685 GB, free: 124.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002291/5.515, allocations: 35.75 kB / 2.685 GB, free: 124.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.818e-05/5.515, allocations: 8 kB / 2.685 GB, free: 124.3 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.211e-05/5.515, allocations: 120.9 kB / 2.685 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.988e-05/5.515, allocations: 19.72 kB / 2.685 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.485e-05/5.515, allocations: 29.95 kB / 2.685 GB, free: 124.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/5.515, allocations: 0 / 2.685 GB, free: 124.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/5.515, allocations: 0 / 2.685 GB, free: 124.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/5.515, allocations: 4 kB / 2.685 GB, free: 124.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009286/5.516, allocations: 0.6874 MB / 2.686 GB, free: 123.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/5.516, allocations: 7.938 kB / 2.686 GB, free: 123.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001849/5.516, allocations: 35.91 kB / 2.686 GB, free: 123.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.732e-06/5.516, allocations: 4.219 kB / 2.686 GB, free: 123.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.266e-05/5.516, allocations: 12 kB / 2.686 GB, free: 123.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/5.516, allocations: 7.984 kB / 2.686 GB, free: 123.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/5.516, allocations: 3.953 kB / 2.686 GB, free: 123.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004051/5.517, allocations: 433.7 kB / 2.687 GB, free: 122.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/5.517, allocations: 120.9 kB / 2.687 GB, free: 122.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.983e-05/5.517, allocations: 12.02 kB / 2.687 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/5.517, allocations: 15.89 kB / 2.687 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.695e-05/5.517, allocations: 19.92 kB / 2.687 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/5.517, allocations: 4 kB / 2.687 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001444/5.517, allocations: 181.4 kB / 2.687 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/5.517, allocations: 0 / 2.687 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007642/5.518, allocations: 128 kB / 2.687 GB, free: 122.3 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.00236/5.52, allocations: 2.224 MB / 2.689 GB, free: 120 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003645/5.521, allocations: 172.4 kB / 2.689 GB, free: 119.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/5.521, allocations: 0 / 2.689 GB, free: 119.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001342/5.521, allocations: 91.88 kB / 2.689 GB, free: 119.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007111/5.522, allocations: 130.8 kB / 2.69 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008795/5.523, allocations: 395.2 kB / 2.69 GB, free: 119.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002458/5.523, allocations: 0.756 MB / 2.691 GB, free: 118.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003291/5.523, allocations: 78.02 kB / 2.691 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/5.523, allocations: 67.41 kB / 2.691 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of SimCode: time 1.182e-06/5.523, allocations: 0 / 2.691 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04262/5.566, allocations: 22.82 MB / 2.713 GB, free: 95.59 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001729/5.566, allocations: 179.8 kB / 2.713 GB, free: 95.37 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.486/8.052, allocations: 0 / 2.713 GB, free: 95.37 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)