Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.794/1.794, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8302/0.8302, allocations: 132.2 MB / 423.2 MB, free: 2.184 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003734/0.0003735, allocations: 12.73 kB / 0.5033 GB, free: 4.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4711/0.4715, allocations: 81.58 MB / 0.583 GB, free: 3.871 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.1709/0.6425, allocations: 135.6 MB / 0.7154 GB, free: 8.516 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002701/0.6452, allocations: 1.625 MB / 0.717 GB, free: 6.891 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002442/0.6455, allocations: 7.938 kB / 0.717 GB, free: 6.883 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005952/0.6461, allocations: 171.2 kB / 0.7172 GB, free: 6.715 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001258/0.6474, allocations: 0.4908 MB / 0.7176 GB, free: 6.223 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001125/0.6485, allocations: 440.5 kB / 0.7181 GB, free: 5.801 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006012/0.6491, allocations: 360.1 kB / 0.7184 GB, free: 5.445 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002703/0.6494, allocations: 140.4 kB / 0.7185 GB, free: 5.312 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004248/0.6498, allocations: 219.3 kB / 0.7188 GB, free: 5.098 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.65, allocations: 107.5 kB / 0.7189 GB, free: 4.992 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.575e-05/0.65, allocations: 8 kB / 0.7189 GB, free: 4.984 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007266/0.6507, allocations: 383.3 kB / 0.7192 GB, free: 4.609 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.629e-05/0.6508, allocations: 67.8 kB / 0.7193 GB, free: 4.543 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.26e-05/0.6509, allocations: 69.58 kB / 0.7194 GB, free: 4.469 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003882/0.6513, allocations: 279.4 kB / 0.7196 GB, free: 4.195 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.6513, allocations: 0 / 0.7196 GB, free: 4.195 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.765e-06/0.6513, allocations: 0 / 0.7196 GB, free: 4.195 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.269e-06/0.6513, allocations: 3.938 kB / 0.7196 GB, free: 4.191 MB / 0.545 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.0007799/0.6521, allocations: 0.5273 MB / 0.7201 GB, free: 3.617 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.6522, allocations: 8.031 kB / 0.7202 GB, free: 3.609 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.212e-05/0.6522, allocations: 46.55 kB / 0.7202 GB, free: 3.555 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003364/0.6526, allocations: 51.59 kB / 0.7202 GB, free: 3.504 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003653/0.653, allocations: 289.4 kB / 0.7205 GB, free: 3.184 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.653, allocations: 8 kB / 0.7205 GB, free: 3.176 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.607e-05/0.653, allocations: 20 kB / 0.7205 GB, free: 3.156 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003643/0.6534, allocations: 196.1 kB / 0.7207 GB, free: 2.949 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.6534, allocations: 4 kB / 0.7207 GB, free: 2.945 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.6534, allocations: 4 kB / 0.7207 GB, free: 2.941 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.6534, allocations: 4 kB / 0.7207 GB, free: 2.938 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003146/0.6538, allocations: 139.8 kB / 0.7209 GB, free: 2.801 MB / 0.545 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.001007/0.6548, allocations: 0.7925 MB / 0.7217 GB, free: 1.938 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002592/0.655, allocations: 102.5 kB / 0.7218 GB, free: 1.828 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.773e-05/0.6551, allocations: 4 kB / 0.7218 GB, free: 1.824 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.6551, allocations: 34.56 kB / 0.7218 GB, free: 1.781 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 2.535e-06/0.6551, allocations: 0 / 0.7218 GB, free: 1.781 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0006847/0.6558, allocations: 237.3 kB / 0.722 GB, free: 1.543 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.6559, allocations: 55.41 kB / 0.7221 GB, free: 1.477 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002515/0.6561, allocations: 263 kB / 0.7223 GB, free: 1.211 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.6562, allocations: 29.7 kB / 0.7223 GB, free: 1.176 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.6563, allocations: 147.8 kB / 0.7225 GB, free: 1.027 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.666e-05/0.6563, allocations: 39.39 kB / 0.7225 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.234e-06/0.6564, allocations: 4 kB / 0.7225 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.6565, allocations: 330.8 kB / 0.7228 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/0.6566, allocations: 47.95 kB / 0.7229 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001675/0.6568, allocations: 101 kB / 0.723 GB, free: 500 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.6569, allocations: 51.97 kB / 0.723 GB, free: 448 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.6569, allocations: 0 / 0.723 GB, free: 448 kB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000333/0.6573, allocations: 165.3 kB / 0.7232 GB, free: 276 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001727/0.6575, allocations: 364 kB / 0.7235 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.6575, allocations: 64 / 0.7235 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.6575, allocations: 4 kB / 0.7235 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.6576, allocations: 28.06 kB / 0.7236 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.6577, allocations: 7.984 kB / 0.7236 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001952/0.6579, allocations: 23.98 kB / 0.7236 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.6579, allocations: 4.562 kB / 0.7236 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.734e-06/0.6579, allocations: 4 kB / 0.7236 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002748/0.6582, allocations: 119.9 kB / 0.7237 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-06/0.6582, allocations: 0 / 0.7237 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.869e-06/0.6582, allocations: 7.984 kB / 0.7237 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.6583, allocations: 23.92 kB / 0.7238 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-06/0.6583, allocations: 7.938 kB / 0.7238 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/0.6585, allocations: 31.78 kB / 0.7238 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.6586, allocations: 8 kB / 0.7238 GB, free: 15.62 MB / 0.5606 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 () * Number of clocked 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.0001402/0.6587, allocations: 213.1 kB / 0.724 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.039e-05/0.6588, allocations: 23.72 kB / 0.724 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003603/0.6591, allocations: 171.3 kB / 0.7242 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.6591, allocations: 0 / 0.7242 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.6591, allocations: 4 kB / 0.7242 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.6592, allocations: 3.953 kB / 0.7242 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008722/0.66, allocations: 0.5976 MB / 0.7248 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.66, allocations: 7.891 kB / 0.7248 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.6602, allocations: 28.2 kB / 0.7248 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.6602, allocations: 8 kB / 0.7248 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.6602, allocations: 4 kB / 0.7248 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.6602, allocations: 0 / 0.7248 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-05/0.6602, allocations: 7.938 kB / 0.7248 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004659/0.6607, allocations: 389.1 kB / 0.7252 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.6608, allocations: 108.8 kB / 0.7253 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.277e-05/0.6609, allocations: 7.984 kB / 0.7253 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.6611, allocations: 27.89 kB / 0.7253 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.11e-05/0.6611, allocations: 7.984 kB / 0.7254 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.6611, allocations: 4 kB / 0.7254 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001783/0.6613, allocations: 194 kB / 0.7255 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6613, allocations: 0 / 0.7255 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004398/0.6618, allocations: 95.89 kB / 0.7256 GB, free: 13.56 MB / 0.5606 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 (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.001164/0.6629, allocations: 1.475 MB / 0.7271 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004675/0.6634, allocations: 179.8 kB / 0.7272 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.6634, allocations: 0 / 0.7272 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.6636, allocations: 71.83 kB / 0.7273 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007468/0.6643, allocations: 121.2 kB / 0.7274 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002101/0.6664, allocations: 1.768 MB / 0.7292 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/0.6668, allocations: 0.7599 MB / 0.7299 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002266/0.6671, allocations: 74.86 kB / 0.73 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.6672, allocations: 67.41 kB / 0.73 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of SimCode: time 3.2e-07/0.6672, allocations: 0 / 0.73 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4325/1.1, allocations: 6.511 MB / 0.7364 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003256/1.1, allocations: 213.6 kB / 0.7366 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.817/3.917, allocations: 0 / 0.7366 GB, free: 2.336 MB / 0.5606 GB (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Examples_PressureDrop.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) Environment - environmentSimulation: