Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="IBPSA_latest_IBPSA_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.00106/0.00106, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4861/0.4861, allocations: 90.81 MB / 104.5 MB, free: 9.789 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 221.3 MB / 348.3 MB, free: 444 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009264/0.0009266, allocations: 98.36 kB / 421.2 MB, free: 5.48 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.431e-05/3.433e-05, allocations: 4 kB / 0.4897 GB, free: 5.27 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4209/0.421, allocations: 72.31 MB / 0.5603 GB, free: 40.45 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.437/4.858, allocations: 1.821 GB / 2.382 GB, free: 207.5 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002121/4.858, allocations: 82.44 kB / 2.382 GB, free: 207.5 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.7746/5.633, allocations: 222.2 MB / 2.599 GB, free: 168.4 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.643e-06/5.633, allocations: 0 / 2.599 GB, free: 168.4 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.689e-05/5.633, allocations: 7.688 kB / 2.599 GB, free: 168.4 MB / 0.6042 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.0008704/5.634, allocations: 0.5703 MB / 2.599 GB, free: 168 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/5.634, allocations: 12.61 kB / 2.599 GB, free: 168 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.613e-05/5.634, allocations: 48.86 kB / 2.599 GB, free: 168 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003358/5.634, allocations: 60.67 kB / 2.599 GB, free: 168 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004556/5.635, allocations: 295.6 kB / 2.6 GB, free: 167.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/5.635, allocations: 11.25 kB / 2.6 GB, free: 167.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.161e-05/5.635, allocations: 18.91 kB / 2.6 GB, free: 167.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000255/5.635, allocations: 175.5 kB / 2.6 GB, free: 167.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/5.635, allocations: 0 / 2.6 GB, free: 167.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/5.635, allocations: 15.11 kB / 2.6 GB, free: 167.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/5.635, allocations: 3.625 kB / 2.6 GB, free: 167.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001467/5.635, allocations: 89.55 kB / 2.6 GB, free: 167.7 MB / 0.6042 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.0008903/5.636, allocations: 0.7903 MB / 2.601 GB, free: 167.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/5.636, allocations: 64.19 kB / 2.601 GB, free: 167.2 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.91e-05/5.636, allocations: 67.39 kB / 2.601 GB, free: 167.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002178/5.637, allocations: 184.7 kB / 2.601 GB, free: 167 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.873e-05/5.637, allocations: 44.83 kB / 2.601 GB, free: 166.9 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/5.637, allocations: 0 / 2.601 GB, free: 166.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0003693/5.637, allocations: 131.7 kB / 2.601 GB, free: 166.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/5.637, allocations: 55.06 kB / 2.601 GB, free: 166.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002021/5.637, allocations: 241 kB / 2.601 GB, free: 166.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/5.637, allocations: 28.77 kB / 2.601 GB, free: 166.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.432e-05/5.637, allocations: 148.2 kB / 2.602 GB, free: 166.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/5.637, allocations: 36.09 kB / 2.602 GB, free: 166.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.591e-06/5.637, allocations: 2.844 kB / 2.602 GB, free: 166.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.258e-05/5.638, allocations: 329.4 kB / 2.602 GB, free: 166.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.574e-05/5.638, allocations: 27.06 kB / 2.602 GB, free: 166.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.023e-05/5.638, allocations: 90.09 kB / 2.602 GB, free: 166.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.152e-05/5.638, allocations: 32.34 kB / 2.602 GB, free: 166.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/5.638, allocations: 3.844 kB / 2.602 GB, free: 166.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001759/5.638, allocations: 131.8 kB / 2.602 GB, free: 166.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.579e-05/5.638, allocations: 360.8 kB / 2.603 GB, free: 165.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/5.638, allocations: 7.062 kB / 2.603 GB, free: 165.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/5.638, allocations: 3.969 kB / 2.603 GB, free: 165.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/5.638, allocations: 26.27 kB / 2.603 GB, free: 165.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/5.638, allocations: 0 / 2.603 GB, free: 165.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/5.638, allocations: 39.14 kB / 2.603 GB, free: 165.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.873e-05/5.638, allocations: 5.562 kB / 2.603 GB, free: 165.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.386e-06/5.639, allocations: 4.594 kB / 2.603 GB, free: 165.8 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001244/5.639, allocations: 78.78 kB / 2.603 GB, free: 165.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.324e-06/5.639, allocations: 0 / 2.603 GB, free: 165.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-06/5.639, allocations: 7.875 kB / 2.603 GB, free: 165.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/5.639, allocations: 29.3 kB / 2.603 GB, free: 165.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.723e-06/5.639, allocations: 0 / 2.603 GB, free: 165.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001654/5.639, allocations: 28.83 kB / 2.603 GB, free: 165.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/5.639, allocations: 6.812 kB / 2.603 GB, free: 165.8 MB / 0.6042 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 5.859e-05/5.639, allocations: 108.5 kB / 2.603 GB, free: 165.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.003e-05/5.639, allocations: 29.86 kB / 2.603 GB, free: 165.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002121/5.639, allocations: 133.1 kB / 2.603 GB, free: 165.6 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/5.639, allocations: 0 / 2.603 GB, free: 165.6 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/5.639, allocations: 0 / 2.603 GB, free: 165.6 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/5.639, allocations: 3.844 kB / 2.603 GB, free: 165.6 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005974/5.64, allocations: 0.5544 MB / 2.604 GB, free: 165.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/5.64, allocations: 3.938 kB / 2.604 GB, free: 165.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/5.64, allocations: 30.66 kB / 2.604 GB, free: 165.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/5.64, allocations: 7.312 kB / 2.604 GB, free: 165.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/5.64, allocations: 0 / 2.604 GB, free: 165.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/5.64, allocations: 6.938 kB / 2.604 GB, free: 165.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/5.64, allocations: 3.938 kB / 2.604 GB, free: 165.3 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002054/5.64, allocations: 352.8 kB / 2.604 GB, free: 165 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.404e-05/5.64, allocations: 113.6 kB / 2.604 GB, free: 164.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.951e-05/5.64, allocations: 10.88 kB / 2.604 GB, free: 164.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/5.641, allocations: 22.52 kB / 2.604 GB, free: 164.9 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.935e-05/5.641, allocations: 15.36 kB / 2.604 GB, free: 164.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/5.641, allocations: 4.062 kB / 2.604 GB, free: 164.9 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001423/5.641, allocations: 195.5 kB / 2.604 GB, free: 164.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.61e-07/5.641, allocations: 0 / 2.604 GB, free: 164.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00067/5.642, allocations: 173.4 kB / 2.604 GB, free: 164.8 MB / 0.6042 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.001536/5.643, allocations: 2.162 MB / 2.607 GB, free: 163.4 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002322/5.643, allocations: 131.5 kB / 2.607 GB, free: 163.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/5.643, allocations: 3.938 kB / 2.607 GB, free: 163.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.898e-05/5.643, allocations: 57.27 kB / 2.607 GB, free: 163.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006933/5.644, allocations: 119.8 kB / 2.607 GB, free: 163.4 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006574/5.645, allocations: 391.1 kB / 2.607 GB, free: 163.1 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001818/5.645, allocations: 0.7682 MB / 2.608 GB, free: 162.4 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002601/5.645, allocations: 93.72 kB / 2.608 GB, free: 162.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.421e-05/5.645, allocations: 67.77 kB / 2.608 GB, free: 162.4 MB / 0.6042 GB Notification: Performance of SimCode: time 7.41e-07/5.645, allocations: 0 / 2.608 GB, free: 162.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04134/5.687, allocations: 23.12 MB / 2.631 GB, free: 161.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001435/5.687, allocations: 185.6 kB / 2.631 GB, free: 161.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.433/8.12, allocations: 0 / 2.631 GB, free: 161.6 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PressureDrop.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)