Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.649/1.649, allocations: 289.7 MB / 302.2 MB, free: 2.137 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001287/0.001287, allocations: 180.4 kB / 371.6 MB, free: 3.348 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.044/2.044, allocations: 205.1 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001024/0.001024, allocations: 94.77 kB / 0.745 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.139e-05/5.142e-05, allocations: 4 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.3252, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.232/1.557, allocations: 402.7 MB / 1.373 GB, free: 10.77 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/1.557, allocations: 89.08 kB / 1.373 GB, free: 10.73 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.075/2.632, allocations: 167.5 MB / 1.537 GB, free: 234.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.443e-06/2.633, allocations: 0 / 1.537 GB, free: 234.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.657e-05/2.633, allocations: 19.92 kB / 1.537 GB, free: 234.5 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001344/2.634, allocations: 0.6607 MB / 1.538 GB, free: 233.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/2.634, allocations: 12.03 kB / 1.538 GB, free: 233.7 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.798e-05/2.634, allocations: 50.55 kB / 1.538 GB, free: 233.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001628/2.634, allocations: 46.8 kB / 1.538 GB, free: 233.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02984/2.664, allocations: 13.69 MB / 1.551 GB, free: 219.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.478e-05/2.664, allocations: 20.28 kB / 1.551 GB, free: 219.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.513e-05/2.664, allocations: 16 kB / 1.551 GB, free: 219.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003595/2.665, allocations: 156.9 kB / 1.551 GB, free: 219.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/2.665, allocations: 0 / 1.551 GB, free: 219.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.451e-05/2.665, allocations: 8 kB / 1.551 GB, free: 219.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/2.665, allocations: 4 kB / 1.551 GB, free: 219.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000218/2.665, allocations: 104.2 kB / 1.551 GB, free: 219.5 MB / 0.948 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.001561/2.667, allocations: 0.8373 MB / 1.552 GB, free: 218.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002501/2.667, allocations: 106.5 kB / 1.552 GB, free: 218.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.431e-05/2.667, allocations: 56.84 kB / 1.552 GB, free: 218.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000289/2.667, allocations: 332.4 kB / 1.553 GB, free: 218 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/2.667, allocations: 34.56 kB / 1.553 GB, free: 217.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=12): time 2.926e-06/2.667, allocations: 0 / 1.553 GB, free: 217.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=12): time 0.0003803/2.668, allocations: 133.2 kB / 1.553 GB, free: 217.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/2.668, allocations: 55.41 kB / 1.553 GB, free: 217.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002927/2.668, allocations: 286.9 kB / 1.553 GB, free: 217.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/2.668, allocations: 33.64 kB / 1.553 GB, free: 217.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/2.668, allocations: 196.2 kB / 1.553 GB, free: 217.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.117e-05/2.668, allocations: 39.45 kB / 1.553 GB, free: 217.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.586e-06/2.668, allocations: 4.219 kB / 1.553 GB, free: 217.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.697e-05/2.668, allocations: 342.8 kB / 1.554 GB, free: 216.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.113e-05/2.668, allocations: 31.94 kB / 1.554 GB, free: 216.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.271e-05/2.668, allocations: 90.91 kB / 1.554 GB, free: 216.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.492e-05/2.669, allocations: 39.91 kB / 1.554 GB, free: 216.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/2.669, allocations: 0 / 1.554 GB, free: 216.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002399/2.669, allocations: 133.2 kB / 1.554 GB, free: 216.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.018e-05/2.669, allocations: 190 kB / 1.554 GB, free: 216.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/2.669, allocations: 0 / 1.554 GB, free: 216.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/2.669, allocations: 3.953 kB / 1.554 GB, free: 216.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/2.669, allocations: 27.98 kB / 1.554 GB, free: 216.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/2.669, allocations: 3.938 kB / 1.554 GB, free: 216.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002806/2.669, allocations: 39.81 kB / 1.554 GB, free: 216.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.434e-05/2.669, allocations: 4 kB / 1.554 GB, free: 216.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/2.669, allocations: 4 kB / 1.554 GB, free: 216.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001496/2.67, allocations: 75.91 kB / 1.554 GB, free: 216.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-06/2.67, allocations: 288 / 1.554 GB, free: 216.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.238e-06/2.67, allocations: 0 / 1.554 GB, free: 216.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/2.67, allocations: 39.97 kB / 1.554 GB, free: 216.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-06/2.67, allocations: 3.938 kB / 1.554 GB, free: 216.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002307/2.67, allocations: 27.83 kB / 1.554 GB, free: 216.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/2.67, allocations: 7.984 kB / 1.554 GB, free: 216.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.201e-05/2.67, allocations: 126.5 kB / 1.554 GB, free: 215.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.179e-05/2.67, allocations: 35.62 kB / 1.554 GB, free: 215.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003696/2.671, allocations: 188.8 kB / 1.555 GB, free: 215.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/2.671, allocations: 0 / 1.555 GB, free: 215.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/2.671, allocations: 0 / 1.555 GB, free: 215.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/2.671, allocations: 3.984 kB / 1.555 GB, free: 215.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007208/2.671, allocations: 0.5834 MB / 1.555 GB, free: 215 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.313e-05/2.671, allocations: 0 / 1.555 GB, free: 215 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/2.672, allocations: 31.98 kB / 1.555 GB, free: 215 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/2.672, allocations: 0 / 1.555 GB, free: 215 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/2.672, allocations: 7.984 kB / 1.555 GB, free: 215 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/2.672, allocations: 7.938 kB / 1.555 GB, free: 215 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/2.672, allocations: 4 kB / 1.555 GB, free: 215 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002917/2.672, allocations: 308 kB / 1.556 GB, free: 214.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/2.672, allocations: 128.5 kB / 1.556 GB, free: 214.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.129e-05/2.672, allocations: 7.953 kB / 1.556 GB, free: 214.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/2.672, allocations: 27.97 kB / 1.556 GB, free: 214.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.725e-05/2.672, allocations: 15.92 kB / 1.556 GB, free: 214.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/2.672, allocations: 4 kB / 1.556 GB, free: 214.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002018/2.673, allocations: 233.2 kB / 1.556 GB, free: 214.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.6e-07/2.673, allocations: 0 / 1.556 GB, free: 214.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0007273/2.673, allocations: 163.8 kB / 1.556 GB, free: 214.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001316/2.675, allocations: 1.239 MB / 1.557 GB, free: 212.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003255/2.675, allocations: 154 kB / 1.558 GB, free: 212.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/2.675, allocations: 0 / 1.558 GB, free: 212.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 9.982e-05/2.675, allocations: 59.92 kB / 1.558 GB, free: 212.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008386/2.676, allocations: 148.5 kB / 1.558 GB, free: 212.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/2.677, allocations: 490 kB / 1.558 GB, free: 211.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/2.677, allocations: 0.8 MB / 1.559 GB, free: 211.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003869/2.678, allocations: 95.11 kB / 1.559 GB, free: 211 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/2.678, allocations: 103.4 kB / 1.559 GB, free: 210.9 MB / 0.948 GB Notification: Performance of SimCode: time 5.31e-07/2.678, allocations: 3.938 kB / 1.559 GB, free: 210.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0242/2.702, allocations: 10.84 MB / 1.57 GB, free: 200.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001596/2.702, allocations: 206.9 kB / 1.57 GB, free: 200 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.533/5.235, allocations: 4 kB / 1.57 GB, free: 199.9 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter.fmu > Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)