Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="IDEAS_dev_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.001643/0.001643, allocations: 174.7 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.8143/0.8143, 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.375/1.375, allocations: 221.3 MB / 400.4 MB, free: 5.844 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.0008323/0.0008323, allocations: 82.05 kB / 483.3 MB, free: 5.883 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.756e-05/3.758e-05, allocations: 4.031 kB / 0.5601 GB, free: 87.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1528, allocations: 82.3 MB / 0.6405 GB, free: 7.746 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.489/4.641, allocations: 1.828 GB / 2.469 GB, free: 103.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002094/4.642, allocations: 87.89 kB / 2.469 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.905/5.547, allocations: 217.2 MB / 2.681 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.843e-06/5.547, allocations: 0 / 2.681 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.157e-05/5.547, allocations: 8 kB / 2.681 GB, free: 159.2 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.002064/5.549, allocations: 0.6233 MB / 2.682 GB, free: 158.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/5.549, allocations: 8.031 kB / 2.682 GB, free: 158.5 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.96e-05/5.549, allocations: 46.55 kB / 2.682 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003169/5.549, allocations: 51.69 kB / 2.682 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006089/5.55, allocations: 293.8 kB / 2.682 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/5.55, allocations: 12 kB / 2.682 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.296e-05/5.55, allocations: 12.86 kB / 2.682 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003777/5.55, allocations: 222 kB / 2.682 GB, free: 157.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/5.55, allocations: 0 / 2.682 GB, free: 157.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.541e-05/5.55, allocations: 11.95 kB / 2.682 GB, free: 157.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.193e-05/5.55, allocations: 8.266 kB / 2.682 GB, free: 157.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000285/5.551, allocations: 180.5 kB / 2.682 GB, free: 157.6 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.001541/5.552, allocations: 0.8915 MB / 2.683 GB, free: 156.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/5.553, allocations: 122.5 kB / 2.683 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/5.553, allocations: 93.06 kB / 2.683 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002779/5.553, allocations: 194.2 kB / 2.684 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/5.553, allocations: 38.56 kB / 2.684 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=14): time 1.403e-06/5.553, allocations: 4 kB / 2.684 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14): time 0.0005637/5.554, allocations: 218.9 kB / 2.684 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/5.554, allocations: 51.41 kB / 2.684 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002179/5.554, allocations: 217.1 kB / 2.684 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.383e-05/5.554, allocations: 33.7 kB / 2.684 GB, free: 155.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.163e-05/5.554, allocations: 136.3 kB / 2.684 GB, free: 155.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.841e-05/5.554, allocations: 51.23 kB / 2.684 GB, free: 155.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.091e-05/5.554, allocations: 4 kB / 2.684 GB, free: 155.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.272e-05/5.554, allocations: 330.8 kB / 2.685 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/5.554, allocations: 67.95 kB / 2.685 GB, free: 155 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/5.554, allocations: 105.5 kB / 2.685 GB, free: 154.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/5.555, allocations: 83.88 kB / 2.685 GB, free: 154.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/5.555, allocations: 0 / 2.685 GB, free: 154.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003186/5.555, allocations: 223.1 kB / 2.685 GB, free: 154.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/5.555, allocations: 4 kB / 2.685 GB, free: 154.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/5.555, allocations: 0 / 2.685 GB, free: 154.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.714e-05/5.555, allocations: 4 kB / 2.685 GB, free: 154.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002449/5.555, allocations: 36.09 kB / 2.685 GB, free: 154.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.532e-05/5.555, allocations: 4 kB / 2.685 GB, free: 154.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002349/5.556, allocations: 31.83 kB / 2.685 GB, free: 154.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.762e-05/5.556, allocations: 7.984 kB / 2.685 GB, free: 154.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 () * 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 9.328e-05/5.556, allocations: 112.9 kB / 2.685 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.657e-05/5.556, allocations: 27.67 kB / 2.685 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.837e-05/5.556, allocations: 37.95 kB / 2.685 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/5.556, allocations: 0 / 2.685 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/5.556, allocations: 0 / 2.685 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/5.556, allocations: 0 / 2.685 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008841/5.557, allocations: 0.6874 MB / 2.686 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/5.557, allocations: 0 / 2.686 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001874/5.557, allocations: 43.89 kB / 2.686 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/5.557, allocations: 4 kB / 2.686 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/5.557, allocations: 4 kB / 2.686 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/5.557, allocations: 0 / 2.686 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/5.557, allocations: 4 kB / 2.686 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003801/5.557, allocations: 437.3 kB / 2.687 GB, free: 153 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/5.558, allocations: 120.8 kB / 2.687 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.173e-05/5.558, allocations: 8 kB / 2.687 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002124/5.558, allocations: 19.89 kB / 2.687 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.655e-05/5.558, allocations: 23.88 kB / 2.687 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/5.558, allocations: 11.92 kB / 2.687 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001462/5.558, allocations: 173.4 kB / 2.687 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.41e-07/5.558, allocations: 0 / 2.687 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006689/5.559, allocations: 131.9 kB / 2.687 GB, free: 152.5 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.002414/5.561, allocations: 2.226 MB / 2.689 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003662/5.562, allocations: 171.8 kB / 2.689 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/5.562, allocations: 0 / 2.689 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000152/5.562, allocations: 99.77 kB / 2.689 GB, free: 150 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007786/5.562, allocations: 108.9 kB / 2.69 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/5.564, allocations: 410.1 kB / 2.69 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/5.564, allocations: 0.756 MB / 2.691 GB, free: 148.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003096/5.564, allocations: 70.02 kB / 2.691 GB, free: 148.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001446/5.564, allocations: 67.41 kB / 2.691 GB, free: 148.5 MB / 0.6823 GB Notification: Performance of SimCode: time 8.22e-07/5.564, allocations: 0 / 2.691 GB, free: 148.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04347/5.608, allocations: 22.82 MB / 2.713 GB, free: 125.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002291/5.608, allocations: 196 kB / 2.713 GB, free: 125.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.603/8.211, allocations: 1.969 kB / 2.713 GB, free: 125.6 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)