Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.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.Examples.PressureDrop,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PressureDrop",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.001707/0.001707, allocations: 173.8 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 1.184/1.184, allocations: 133.6 MB / 141.6 MB, free: 2.906 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.525/2.525, allocations: 221.5 MB / 395.4 MB, free: 10.77 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.001468/0.001468, allocations: 102.4 kB / 478.2 MB, free: 1.301 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.725e-05/3.736e-05, allocations: 4 kB / 0.5535 GB, free: 8.941 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8201/0.8202, allocations: 82.3 MB / 0.6339 GB, free: 40.71 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.262/8.082, allocations: 1.83 GB / 2.464 GB, free: 166.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003324/8.083, allocations: 83.33 kB / 2.464 GB, free: 166.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.499/9.582, allocations: 219.4 MB / 2.678 GB, free: 206.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.304e-06/9.582, allocations: 0 / 2.678 GB, free: 206.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.538e-05/9.582, allocations: 10.56 kB / 2.678 GB, free: 206.9 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001221/9.584, allocations: 0.5694 MB / 2.679 GB, free: 206.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.866e-05/9.584, allocations: 7.312 kB / 2.679 GB, free: 206.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005858/9.584, allocations: 53.39 kB / 2.679 GB, free: 206.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007153/9.585, allocations: 304.4 kB / 2.679 GB, free: 206.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/9.585, allocations: 13.64 kB / 2.679 GB, free: 206.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.324e-05/9.585, allocations: 7.875 kB / 2.679 GB, free: 206.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002875/9.585, allocations: 86.23 kB / 2.679 GB, free: 206.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000382/9.586, allocations: 163.1 kB / 2.68 GB, free: 206.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/9.586, allocations: 0 / 2.68 GB, free: 206.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.909e-05/9.586, allocations: 2.688 kB / 2.68 GB, free: 206.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/9.586, allocations: 3.156 kB / 2.68 GB, free: 206.2 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.001469/9.587, allocations: 0.7394 MB / 2.68 GB, free: 205.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002512/9.588, allocations: 58.8 kB / 2.68 GB, free: 205.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001383/9.588, allocations: 58.89 kB / 2.68 GB, free: 205.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003676/9.588, allocations: 191.5 kB / 2.681 GB, free: 205.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/9.588, allocations: 36.59 kB / 2.681 GB, free: 205.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 2.535e-06/9.588, allocations: 0 / 2.681 GB, free: 205.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0007603/9.589, allocations: 142.6 kB / 2.681 GB, free: 205.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/9.589, allocations: 51.41 kB / 2.681 GB, free: 205.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002519/9.589, allocations: 185.8 kB / 2.681 GB, free: 205.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/9.589, allocations: 25.7 kB / 2.681 GB, free: 205.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/9.59, allocations: 150 kB / 2.681 GB, free: 205.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.042e-05/9.59, allocations: 37.86 kB / 2.681 GB, free: 205.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.126e-05/9.59, allocations: 0 / 2.681 GB, free: 205.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.328e-05/9.59, allocations: 339.9 kB / 2.682 GB, free: 204.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.112e-05/9.59, allocations: 22.62 kB / 2.682 GB, free: 204.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/9.59, allocations: 81.34 kB / 2.682 GB, free: 204.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/9.59, allocations: 40.44 kB / 2.682 GB, free: 204.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/9.59, allocations: 0 / 2.682 GB, free: 204.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003189/9.591, allocations: 119.7 kB / 2.682 GB, free: 204.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001384/9.591, allocations: 362.9 kB / 2.682 GB, free: 204.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/9.591, allocations: 0 / 2.682 GB, free: 204.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/9.591, allocations: 3.906 kB / 2.682 GB, free: 204.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002356/9.591, allocations: 21.84 kB / 2.682 GB, free: 204.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/9.591, allocations: 10.31 kB / 2.682 GB, free: 204.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003425/9.591, allocations: 14.53 kB / 2.682 GB, free: 204.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.632e-05/9.591, allocations: 7.031 kB / 2.682 GB, free: 204.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/9.591, allocations: 4.25 kB / 2.682 GB, free: 204.3 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002145/9.592, allocations: 74.44 kB / 2.682 GB, free: 204.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/9.592, allocations: 0 / 2.682 GB, free: 204.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.935e-06/9.592, allocations: 7.656 kB / 2.682 GB, free: 204.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/9.592, allocations: 25.11 kB / 2.682 GB, free: 204.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/9.592, allocations: 3.953 kB / 2.682 GB, free: 204.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003246/9.592, allocations: 27.23 kB / 2.682 GB, free: 204.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.827e-05/9.592, allocations: 7.688 kB / 2.682 GB, free: 204.3 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001018/9.592, allocations: 111.3 kB / 2.682 GB, free: 204.2 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002676/9.593, allocations: 111.1 kB / 2.683 GB, free: 204.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.006e-05/9.593, allocations: 22.97 kB / 2.683 GB, free: 204.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003277/9.593, allocations: 128.6 kB / 2.683 GB, free: 204.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/9.593, allocations: 3.531 kB / 2.683 GB, free: 204.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/9.593, allocations: 0 / 2.683 GB, free: 204.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/9.593, allocations: 0 / 2.683 GB, free: 204.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001052/9.594, allocations: 0.506 MB / 2.683 GB, free: 203.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/9.594, allocations: 3.25 kB / 2.683 GB, free: 203.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002143/9.595, allocations: 28.12 kB / 2.683 GB, free: 203.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.267e-06/9.595, allocations: 7.031 kB / 2.683 GB, free: 203.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.958e-05/9.595, allocations: 2.25 kB / 2.683 GB, free: 203.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/9.595, allocations: 4.344 kB / 2.683 GB, free: 203.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/9.595, allocations: 3.219 kB / 2.683 GB, free: 203.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004075/9.595, allocations: 351.5 kB / 2.684 GB, free: 203.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/9.595, allocations: 106.7 kB / 2.684 GB, free: 203.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.007e-05/9.595, allocations: 3.281 kB / 2.684 GB, free: 203.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003945/9.596, allocations: 22.81 kB / 2.684 GB, free: 203.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.132e-05/9.596, allocations: 15.36 kB / 2.684 GB, free: 203.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/9.596, allocations: 9.219 kB / 2.684 GB, free: 203.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001848/9.596, allocations: 152.4 kB / 2.684 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.21e-07/9.596, allocations: 3.656 kB / 2.684 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001136/9.597, allocations: 154.9 kB / 2.684 GB, free: 203.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 (10): * Single equations (assignments): 10 * 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.00274/9.6, allocations: 2.26 MB / 2.686 GB, free: 201.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004635/9.6, allocations: 122.5 kB / 2.686 GB, free: 201.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/9.6, allocations: 0 / 2.686 GB, free: 201.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001376/9.601, allocations: 52.47 kB / 2.686 GB, free: 201.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/9.602, allocations: 105.8 kB / 2.686 GB, free: 201.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/9.603, allocations: 376 kB / 2.687 GB, free: 201.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/9.603, allocations: 0.7594 MB / 2.688 GB, free: 200.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004962/9.604, allocations: 73.81 kB / 2.688 GB, free: 200.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/9.604, allocations: 69.38 kB / 2.688 GB, free: 200.9 MB / 0.6823 GB Notification: Performance of SimCode: time 1.242e-06/9.604, allocations: 0 / 2.688 GB, free: 200.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04837/9.653, allocations: 12.32 MB / 2.7 GB, free: 199.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002113/9.653, allocations: 166.1 kB / 2.7 GB, free: 199.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.101/12.75, allocations: 7.938 kB / 2.7 GB, free: 199.7 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PressureDrop.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)