Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.88/2.88, allocations: 287.3 MB / 302.3 MB, free: 8.375 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.001455/0.001455, allocations: 179 kB / 370.8 MB, free: 10.87 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.015/2.015, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001074/0.001073, allocations: 94.84 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004962/0.0004963, allocations: 12 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2254, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.292/1.517, allocations: 401.6 MB / 1.371 GB, free: 13.07 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003151/1.518, allocations: 92.06 kB / 1.371 GB, free: 13.02 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.233/2.751, allocations: 168 MB / 1.535 GB, free: 256 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.054e-06/2.751, allocations: 0 / 1.535 GB, free: 256 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.842e-05/2.751, allocations: 8 kB / 1.535 GB, free: 256 MB / 0.9323 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.001662/2.753, allocations: 0.7606 MB / 1.535 GB, free: 255.2 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.543e-05/2.753, allocations: 12.03 kB / 1.535 GB, free: 255.2 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.426e-05/2.753, allocations: 50.55 kB / 1.536 GB, free: 255.1 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.74e-05/2.753, allocations: 43.53 kB / 1.536 GB, free: 255.1 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04349/2.797, allocations: 13.78 MB / 1.549 GB, free: 241.1 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/2.797, allocations: 12.33 kB / 1.549 GB, free: 241.1 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.955e-05/2.797, allocations: 20 kB / 1.549 GB, free: 241.1 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005281/2.797, allocations: 172.2 kB / 1.549 GB, free: 240.9 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/2.797, allocations: 0 / 1.549 GB, free: 240.9 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.809e-05/2.797, allocations: 12 kB / 1.549 GB, free: 240.9 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.138e-06/2.797, allocations: 7.984 kB / 1.549 GB, free: 240.9 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004959/2.798, allocations: 140.1 kB / 1.549 GB, free: 240.7 MB / 0.9323 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.001352/2.799, allocations: 0.8334 MB / 1.55 GB, free: 239.8 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004194/2.8, allocations: 118.6 kB / 1.55 GB, free: 239.7 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002957/2.8, allocations: 332.4 kB / 1.551 GB, free: 239.3 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/2.8, allocations: 42.56 kB / 1.551 GB, free: 239.2 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=12): time 2.354e-06/2.8, allocations: 0 / 1.551 GB, free: 239.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=12): time 0.000793/2.801, allocations: 213.4 kB / 1.551 GB, free: 239 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/2.801, allocations: 59.41 kB / 1.551 GB, free: 238.9 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003582/2.801, allocations: 284.9 kB / 1.551 GB, free: 238.7 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/2.801, allocations: 29.7 kB / 1.551 GB, free: 238.6 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/2.802, allocations: 192.3 kB / 1.551 GB, free: 238.4 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 4.49e-05/2.802, allocations: 47.38 kB / 1.551 GB, free: 238.4 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.128e-05/2.802, allocations: 0 / 1.551 GB, free: 238.4 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.964e-05/2.802, allocations: 346.8 kB / 1.552 GB, free: 238 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001969/2.802, allocations: 51.91 kB / 1.552 GB, free: 238 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000246/2.802, allocations: 95.27 kB / 1.552 GB, free: 237.9 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002131/2.802, allocations: 56.06 kB / 1.552 GB, free: 237.8 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/2.802, allocations: 3.938 kB / 1.552 GB, free: 237.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005241/2.803, allocations: 185 kB / 1.552 GB, free: 237.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 6.426e-05/2.803, allocations: 178 kB / 1.552 GB, free: 237.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/2.803, allocations: 3.984 kB / 1.552 GB, free: 237.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/2.803, allocations: 7.953 kB / 1.552 GB, free: 237.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002265/2.803, allocations: 23.98 kB / 1.552 GB, free: 237.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/2.803, allocations: 0 / 1.552 GB, free: 237.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003757/2.804, allocations: 35.91 kB / 1.552 GB, free: 237.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.313e-05/2.804, allocations: 8 kB / 1.552 GB, free: 237.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 8.176e-06/2.804, allocations: 4 kB / 1.552 GB, free: 237.4 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000443/2.804, allocations: 115.9 kB / 1.552 GB, free: 237.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/2.804, allocations: 7.922 kB / 1.552 GB, free: 237.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.336e-06/2.804, allocations: 0 / 1.552 GB, free: 237.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002022/2.805, allocations: 31.92 kB / 1.553 GB, free: 237.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.915e-06/2.805, allocations: 0 / 1.553 GB, free: 237.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002907/2.805, allocations: 31.89 kB / 1.553 GB, free: 237.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.157e-05/2.805, allocations: 7.984 kB / 1.553 GB, free: 237.2 MB / 0.9323 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 () * Number of clocked 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 0.0002093/2.805, allocations: 221.1 kB / 1.553 GB, free: 236.9 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.49e-05/2.805, allocations: 39.53 kB / 1.553 GB, free: 236.9 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007061/2.806, allocations: 236.7 kB / 1.553 GB, free: 236.7 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/2.806, allocations: 3.984 kB / 1.553 GB, free: 236.7 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/2.806, allocations: 4 kB / 1.553 GB, free: 236.7 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/2.806, allocations: 0 / 1.553 GB, free: 236.7 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/2.807, allocations: 0.6113 MB / 1.554 GB, free: 236 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/2.807, allocations: 0 / 1.554 GB, free: 236 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001919/2.807, allocations: 23.98 kB / 1.554 GB, free: 236 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/2.807, allocations: 4.094 kB / 1.554 GB, free: 236 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/2.807, allocations: 8 kB / 1.554 GB, free: 235.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/2.807, allocations: 4 kB / 1.554 GB, free: 235.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/2.807, allocations: 0 / 1.554 GB, free: 235.9 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006012/2.808, allocations: 355.6 kB / 1.554 GB, free: 235.6 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/2.808, allocations: 120.7 kB / 1.554 GB, free: 235.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.892e-05/2.808, allocations: 4 kB / 1.554 GB, free: 235.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003274/2.809, allocations: 35.81 kB / 1.554 GB, free: 235.4 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.694e-05/2.809, allocations: 11.98 kB / 1.554 GB, free: 235.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.14e-05/2.809, allocations: 12 kB / 1.554 GB, free: 235.4 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0002723/2.809, allocations: 235.1 kB / 1.554 GB, free: 235.1 MB / 0.9323 GB Notification: Performance of sort global known variables: time 4.2e-07/2.809, allocations: 0 / 1.554 GB, free: 235.1 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.000801/2.81, allocations: 163.8 kB / 1.555 GB, free: 235 MB / 0.9323 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 () * Number of clocked 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.001418/2.811, allocations: 1.256 MB / 1.556 GB, free: 233.7 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0007568/2.812, allocations: 201.9 kB / 1.556 GB, free: 233.5 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/2.812, allocations: 4 kB / 1.556 GB, free: 233.5 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002638/2.812, allocations: 80.08 kB / 1.556 GB, free: 233.4 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/2.813, allocations: 143.3 kB / 1.556 GB, free: 233.2 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003133/2.817, allocations: 1.841 MB / 1.558 GB, free: 231.3 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002592/2.817, allocations: 0.8004 MB / 1.559 GB, free: 230.5 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0004104/2.817, allocations: 71.17 kB / 1.559 GB, free: 230.4 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001718/2.817, allocations: 111.4 kB / 1.559 GB, free: 230.3 MB / 0.9323 GB Notification: Performance of SimCode: time 1.322e-06/2.817, allocations: 0 / 1.559 GB, free: 230.3 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03535/2.853, allocations: 10.1 MB / 1.569 GB, free: 220.5 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00028/2.853, allocations: 232.2 kB / 1.569 GB, free: 220.2 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.886/5.739, allocations: 0 / 1.569 GB, free: 220.2 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter.fmu > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)