Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.404/1.404, allocations: 249.5 MB / 257 MB, free: 6.887 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001642/0.001642, allocations: 188.8 kB / 316.3 MB, free: 3.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.556/1.556, allocations: 205.3 MB / 0.5671 GB, free: 15.89 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008283/0.0008282, allocations: 88.61 kB / 0.6714 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.577e-05/2.58e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.1938, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.284/1.478, allocations: 394.4 MB / 1.271 GB, free: 324.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/1.478, allocations: 86.89 kB / 1.271 GB, free: 324.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2894/1.768, allocations: 161.6 MB / 1.428 GB, free: 187.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.533e-06/1.768, allocations: 0 / 1.428 GB, free: 187.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.489e-05/1.768, allocations: 12 kB / 1.428 GB, free: 187.6 MB / 0.8698 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.0009026/1.769, allocations: 0.6694 MB / 1.429 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/1.769, allocations: 12.03 kB / 1.429 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.224e-05/1.769, allocations: 43.44 kB / 1.429 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02425/1.793, allocations: 13.3 MB / 1.442 GB, free: 173.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/1.793, allocations: 11.95 kB / 1.442 GB, free: 173.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.664e-05/1.793, allocations: 16 kB / 1.442 GB, free: 173.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002/1.793, allocations: 96.62 kB / 1.442 GB, free: 173.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/1.793, allocations: 127.9 kB / 1.442 GB, free: 173.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/1.793, allocations: 0 / 1.442 GB, free: 173.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/1.793, allocations: 0 / 1.442 GB, free: 173.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/1.793, allocations: 4 kB / 1.442 GB, free: 173 MB / 0.8698 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.000962/1.794, allocations: 0.7873 MB / 1.443 GB, free: 172.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/1.795, allocations: 98.67 kB / 1.443 GB, free: 172.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.828e-05/1.795, allocations: 56.78 kB / 1.443 GB, free: 172 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002058/1.795, allocations: 332.4 kB / 1.444 GB, free: 171.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.627e-05/1.795, allocations: 38.56 kB / 1.444 GB, free: 171.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=12): time 1.463e-06/1.795, allocations: 3.938 kB / 1.444 GB, free: 171.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=12): time 0.000333/1.795, allocations: 133.4 kB / 1.444 GB, free: 171.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.712e-05/1.795, allocations: 59.34 kB / 1.444 GB, free: 171.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/1.796, allocations: 254.4 kB / 1.444 GB, free: 171.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/1.796, allocations: 25.7 kB / 1.444 GB, free: 171.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.375e-05/1.796, allocations: 192.2 kB / 1.444 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.602e-05/1.796, allocations: 39.39 kB / 1.444 GB, free: 170.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.662e-06/1.796, allocations: 0 / 1.444 GB, free: 170.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.631e-05/1.796, allocations: 346.8 kB / 1.445 GB, free: 170.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.145e-05/1.796, allocations: 24 kB / 1.445 GB, free: 170.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.438e-05/1.796, allocations: 82.86 kB / 1.445 GB, free: 170.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/1.796, allocations: 47.89 kB / 1.445 GB, free: 170.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/1.796, allocations: 0 / 1.445 GB, free: 170.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002249/1.796, allocations: 141.2 kB / 1.445 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.061e-05/1.796, allocations: 187.9 kB / 1.445 GB, free: 170 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/1.796, allocations: 0 / 1.445 GB, free: 170 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/1.796, allocations: 0 / 1.445 GB, free: 170 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/1.796, allocations: 35.97 kB / 1.445 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/1.796, allocations: 7.891 kB / 1.445 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001924/1.797, allocations: 23.98 kB / 1.445 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/1.797, allocations: 7.984 kB / 1.445 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.474e-06/1.797, allocations: 4 kB / 1.445 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001782/1.797, allocations: 79.89 kB / 1.445 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-06/1.797, allocations: 288 / 1.445 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.905e-06/1.797, allocations: 0 / 1.445 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/1.797, allocations: 23.98 kB / 1.445 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.663e-06/1.797, allocations: 7.938 kB / 1.445 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001712/1.797, allocations: 27.83 kB / 1.445 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/1.797, allocations: 15.92 kB / 1.445 GB, free: 169.7 MB / 0.8698 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 6.104e-05/1.797, allocations: 111.5 kB / 1.445 GB, free: 169.6 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002128/1.798, allocations: 133.3 kB / 1.446 GB, free: 169.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.06e-05/1.798, allocations: 31.62 kB / 1.446 GB, free: 169.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003335/1.798, allocations: 176.6 kB / 1.446 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/1.798, allocations: 4 kB / 1.446 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/1.798, allocations: 0 / 1.446 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/1.798, allocations: 0 / 1.446 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005601/1.799, allocations: 0.5285 MB / 1.446 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/1.799, allocations: 96 / 1.446 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/1.799, allocations: 31.98 kB / 1.446 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/1.799, allocations: 0 / 1.446 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/1.799, allocations: 11.94 kB / 1.446 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/1.799, allocations: 0 / 1.446 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/1.799, allocations: 3.938 kB / 1.446 GB, free: 168.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/1.799, allocations: 308 kB / 1.447 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.532e-05/1.799, allocations: 132.5 kB / 1.447 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/1.799, allocations: 4 kB / 1.447 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001846/1.799, allocations: 23.97 kB / 1.447 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.598e-05/1.799, allocations: 7.984 kB / 1.447 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/1.799, allocations: 8 kB / 1.447 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001356/1.799, allocations: 192.6 kB / 1.447 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/1.799, allocations: 0 / 1.447 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0005745/1.8, allocations: 159.8 kB / 1.447 GB, free: 167.8 MB / 0.8698 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.0009178/1.801, allocations: 1.246 MB / 1.448 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002341/1.801, allocations: 149.9 kB / 1.448 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.801, allocations: 0 / 1.448 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 7.905e-05/1.801, allocations: 51.92 kB / 1.449 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006531/1.802, allocations: 128.9 kB / 1.449 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007519/1.803, allocations: 475.8 kB / 1.449 GB, free: 165.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001812/1.803, allocations: 0.7996 MB / 1.45 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003187/1.803, allocations: 83.69 kB / 1.45 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.781e-05/1.803, allocations: 107.4 kB / 1.45 GB, free: 164.6 MB / 0.8698 GB Notification: Performance of SimCode: time 3.41e-07/1.803, allocations: 0 / 1.45 GB, free: 164.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02611/1.83, allocations: 8.88 MB / 1.459 GB, free: 155.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001594/1.83, allocations: 185.7 kB / 1.459 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.111/3.941, allocations: 0 / 1.459 GB, free: 155.7 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)