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.59/1.59, allocations: 251.9 MB / 266.9 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001122/0.001122, allocations: 179.7 kB / 326.5 MB, free: 2.25 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.999/1.999, allocations: 205.4 MB / 0.5775 GB, free: 20.5 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.0008882/0.0008882, allocations: 96.94 kB / 0.6821 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003434/0.0003434, allocations: 11.44 kB / 0.7963 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.2779, allocations: 106.3 MB / 0.9001 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.124/1.402, allocations: 394.2 MB / 1.285 GB, free: 6.066 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/1.403, allocations: 88.53 kB / 1.285 GB, free: 6.02 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.082/2.485, allocations: 163.4 MB / 1.445 GB, free: 291.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 5.731e-06/2.485, allocations: 6 kB / 1.445 GB, free: 291.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.108e-05/2.485, allocations: 3.906 kB / 1.445 GB, free: 291.5 MB / 0.8855 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.00191/2.487, allocations: 0.7669 MB / 1.446 GB, free: 290.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/2.487, allocations: 6.844 kB / 1.446 GB, free: 290.9 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001/2.487, allocations: 52.42 kB / 1.446 GB, free: 290.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000153/2.487, allocations: 41.09 kB / 1.446 GB, free: 290.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03211/2.519, allocations: 13.43 MB / 1.459 GB, free: 289.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.399e-05/2.519, allocations: 11.95 kB / 1.459 GB, free: 289.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.061e-05/2.519, allocations: 23.03 kB / 1.459 GB, free: 289.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005272/2.52, allocations: 174.7 kB / 1.459 GB, free: 289.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/2.52, allocations: 0 / 1.459 GB, free: 289.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.715e-05/2.52, allocations: 10.91 kB / 1.459 GB, free: 289.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/2.52, allocations: 3.875 kB / 1.459 GB, free: 289.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003864/2.52, allocations: 134.7 kB / 1.459 GB, free: 289.8 MB / 0.8855 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.001788/2.522, allocations: 0.8431 MB / 1.46 GB, free: 289 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003386/2.522, allocations: 115 kB / 1.46 GB, free: 289 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003373/2.523, allocations: 334.2 kB / 1.46 GB, free: 288.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/2.523, allocations: 38.41 kB / 1.46 GB, free: 288.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=12): time 2.385e-06/2.523, allocations: 0 / 1.46 GB, free: 288.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=12): time 0.000651/2.524, allocations: 220.6 kB / 1.461 GB, free: 288.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/2.524, allocations: 55.34 kB / 1.461 GB, free: 288.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003514/2.524, allocations: 285.9 kB / 1.461 GB, free: 288.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/2.524, allocations: 36.34 kB / 1.461 GB, free: 288.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/2.524, allocations: 195.9 kB / 1.461 GB, free: 288 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.258e-05/2.524, allocations: 34.73 kB / 1.461 GB, free: 287.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.704e-06/2.524, allocations: 4 kB / 1.461 GB, free: 287.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001189/2.524, allocations: 339.6 kB / 1.461 GB, free: 287.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/2.524, allocations: 46.12 kB / 1.462 GB, free: 287.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001663/2.525, allocations: 111 kB / 1.462 GB, free: 287.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001635/2.525, allocations: 50.98 kB / 1.462 GB, free: 287.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/2.525, allocations: 7.891 kB / 1.462 GB, free: 287.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003902/2.525, allocations: 169.4 kB / 1.462 GB, free: 287.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.829e-05/2.525, allocations: 188.7 kB / 1.462 GB, free: 287.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/2.525, allocations: 3.984 kB / 1.462 GB, free: 287.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/2.525, allocations: 0 / 1.462 GB, free: 287.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/2.525, allocations: 33.3 kB / 1.462 GB, free: 287.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/2.526, allocations: 3.875 kB / 1.462 GB, free: 287.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002809/2.526, allocations: 41.55 kB / 1.462 GB, free: 287.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.039e-05/2.526, allocations: 7 kB / 1.462 GB, free: 287.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/2.526, allocations: 3.969 kB / 1.462 GB, free: 287.1 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002821/2.526, allocations: 111.1 kB / 1.462 GB, free: 287.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/2.526, allocations: 4.266 kB / 1.462 GB, free: 287.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.877e-06/2.526, allocations: 0 / 1.462 GB, free: 287.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/2.526, allocations: 30.02 kB / 1.462 GB, free: 287.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/2.526, allocations: 11.78 kB / 1.462 GB, free: 287.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002334/2.527, allocations: 29.86 kB / 1.462 GB, free: 287.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.258e-05/2.527, allocations: 11.89 kB / 1.462 GB, free: 287.1 MB / 0.8855 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.000205/2.527, allocations: 219.9 kB / 1.463 GB, free: 286.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.56e-05/2.527, allocations: 35.14 kB / 1.463 GB, free: 286.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004969/2.527, allocations: 221.3 kB / 1.463 GB, free: 286.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/2.527, allocations: 7.922 kB / 1.463 GB, free: 286.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/2.527, allocations: 0 / 1.463 GB, free: 286.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/2.527, allocations: 5.531 kB / 1.463 GB, free: 286.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008885/2.528, allocations: 0.6094 MB / 1.463 GB, free: 286.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/2.528, allocations: 0 / 1.463 GB, free: 286.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001059/2.528, allocations: 33.39 kB / 1.463 GB, free: 286.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/2.528, allocations: 3.25 kB / 1.463 GB, free: 286.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/2.528, allocations: 3.094 kB / 1.463 GB, free: 286.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/2.528, allocations: 3.312 kB / 1.463 GB, free: 286.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/2.529, allocations: 0 / 1.463 GB, free: 286.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005068/2.529, allocations: 358.1 kB / 1.464 GB, free: 285.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/2.529, allocations: 128.2 kB / 1.464 GB, free: 285.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.256e-05/2.529, allocations: 4 kB / 1.464 GB, free: 285.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/2.529, allocations: 27.55 kB / 1.464 GB, free: 285.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.406e-05/2.53, allocations: 15.64 kB / 1.464 GB, free: 285.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/2.53, allocations: 3.875 kB / 1.464 GB, free: 285.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002099/2.53, allocations: 232.9 kB / 1.464 GB, free: 285.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/2.53, allocations: 0 / 1.464 GB, free: 285.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0006543/2.53, allocations: 171.1 kB / 1.464 GB, free: 285.5 MB / 0.8855 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.001295/2.532, allocations: 1.272 MB / 1.466 GB, free: 284.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004975/2.532, allocations: 207.8 kB / 1.466 GB, free: 284.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/2.532, allocations: 0 / 1.466 GB, free: 284.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001607/2.532, allocations: 78.02 kB / 1.466 GB, free: 284.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007894/2.533, allocations: 146.7 kB / 1.466 GB, free: 284.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002688/2.536, allocations: 1.838 MB / 1.468 GB, free: 283 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/2.536, allocations: 0.8048 MB / 1.469 GB, free: 282.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002974/2.537, allocations: 67.94 kB / 1.469 GB, free: 282.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/2.537, allocations: 118 kB / 1.469 GB, free: 282.2 MB / 0.8855 GB Notification: Performance of SimCode: time 3.41e-07/2.537, allocations: 0 / 1.469 GB, free: 282.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02762/2.564, allocations: 10.11 MB / 1.479 GB, free: 277.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002002/2.565, allocations: 229.3 kB / 1.479 GB, free: 277.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.571/5.136, allocations: 0 / 1.479 GB, free: 277.2 MB / 0.8855 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)