Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.614/1.614, allocations: 285.4 MB / 298 MB, free: 5.941 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.001154/0.001154, allocations: 176.8 kB / 366.4 MB, free: 2.098 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.645/1.645, allocations: 205.1 MB / 0.6248 GB, free: 7.746 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.0008914/0.0008915, allocations: 94.8 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.42e-05/4.422e-05, allocations: 4 kB / 0.8584 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7468/0.7469, allocations: 115.3 MB / 0.971 GB, free: 78.08 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.12/1.867, allocations: 401.7 MB / 1.363 GB, free: 157.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/1.868, allocations: 88 kB / 1.363 GB, free: 157.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.3058/2.174, allocations: 167.6 MB / 1.527 GB, free: 3.559 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.693e-06/2.174, allocations: 0 / 1.527 GB, free: 3.559 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.098e-05/2.174, allocations: 12 kB / 1.527 GB, free: 3.547 MB / 0.8542 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.0009447/2.175, allocations: 0.6731 MB / 1.528 GB, free: 2.824 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/2.175, allocations: 12.03 kB / 1.528 GB, free: 2.812 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.034e-05/2.175, allocations: 50.55 kB / 1.528 GB, free: 2.754 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.647e-05/2.175, allocations: 39.53 kB / 1.528 GB, free: 2.715 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03128/2.206, allocations: 13.68 MB / 1.541 GB, free: 4.848 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.793e-05/2.206, allocations: 20.28 kB / 1.541 GB, free: 4.828 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.035e-05/2.206, allocations: 24 kB / 1.541 GB, free: 4.805 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004071/2.207, allocations: 152.2 kB / 1.541 GB, free: 4.652 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/2.207, allocations: 4 kB / 1.541 GB, free: 4.648 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.299e-05/2.207, allocations: 4 kB / 1.541 GB, free: 4.645 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/2.207, allocations: 7.938 kB / 1.541 GB, free: 4.637 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002223/2.207, allocations: 104.2 kB / 1.541 GB, free: 4.535 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.001505/2.208, allocations: 0.8372 MB / 1.542 GB, free: 3.598 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002557/2.209, allocations: 98.69 kB / 1.542 GB, free: 3.492 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.752e-05/2.209, allocations: 52.84 kB / 1.542 GB, free: 3.438 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003789/2.209, allocations: 336.4 kB / 1.543 GB, free: 3.035 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/2.209, allocations: 30.56 kB / 1.543 GB, free: 2.996 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=12): time 2.474e-06/2.209, allocations: 0 / 1.543 GB, free: 2.996 MB / 0.8698 GB Notification: Performance of matching and sorting (n=12): time 0.0003402/2.21, allocations: 137.4 kB / 1.543 GB, free: 2.855 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/2.21, allocations: 59.39 kB / 1.543 GB, free: 2.785 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003864/2.21, allocations: 286.9 kB / 1.543 GB, free: 2.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.816e-05/2.21, allocations: 33.7 kB / 1.543 GB, free: 2.461 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/2.21, allocations: 196.2 kB / 1.543 GB, free: 2.266 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.576e-05/2.21, allocations: 39.39 kB / 1.543 GB, free: 2.227 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.181e-06/2.21, allocations: 0 / 1.543 GB, free: 2.227 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001901/2.211, allocations: 346.8 kB / 1.544 GB, free: 1.879 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.918e-05/2.211, allocations: 27.98 kB / 1.544 GB, free: 1.852 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/2.211, allocations: 86.8 kB / 1.544 GB, free: 1.742 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.221e-05/2.211, allocations: 31.98 kB / 1.544 GB, free: 1.711 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/2.211, allocations: 0 / 1.544 GB, free: 1.711 MB / 0.8698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002247/2.211, allocations: 141.2 kB / 1.544 GB, free: 1.566 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000108/2.211, allocations: 185.9 kB / 1.544 GB, free: 1.371 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/2.211, allocations: 0 / 1.544 GB, free: 1.371 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/2.211, allocations: 3.953 kB / 1.544 GB, free: 1.367 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/2.211, allocations: 35.91 kB / 1.544 GB, free: 1.332 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/2.211, allocations: 192 / 1.544 GB, free: 1.332 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002181/2.212, allocations: 31.89 kB / 1.544 GB, free: 1.301 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.514e-05/2.212, allocations: 19.92 kB / 1.544 GB, free: 1.281 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.137e-06/2.212, allocations: 4 kB / 1.544 GB, free: 1.277 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001606/2.212, allocations: 75.91 kB / 1.544 GB, free: 1.203 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/2.212, allocations: 4 kB / 1.544 GB, free: 1.199 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-06/2.212, allocations: 0 / 1.544 GB, free: 1.199 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/2.212, allocations: 23.98 kB / 1.544 GB, free: 1.176 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/2.212, allocations: 0 / 1.544 GB, free: 1.176 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001711/2.212, allocations: 39.75 kB / 1.544 GB, free: 1.137 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/2.212, allocations: 12 kB / 1.545 GB, free: 1.125 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 9.692e-05/2.212, allocations: 112.9 kB / 1.545 GB, free: 1.008 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.772e-05/2.212, allocations: 31.62 kB / 1.545 GB, free: 0.9766 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003805/2.213, allocations: 201.5 kB / 1.545 GB, free: 0.7734 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.848e-06/2.213, allocations: 4 kB / 1.545 GB, free: 0.7695 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/2.213, allocations: 0 / 1.545 GB, free: 0.7695 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/2.213, allocations: 0 / 1.545 GB, free: 0.7695 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007452/2.214, allocations: 0.5759 MB / 1.545 GB, free: 132 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/2.214, allocations: 0 / 1.545 GB, free: 132 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/2.214, allocations: 32.02 kB / 1.545 GB, free: 100 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/2.214, allocations: 4 kB / 1.545 GB, free: 96 kB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/2.214, allocations: 0 / 1.545 GB, free: 96 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/2.214, allocations: 4 kB / 1.545 GB, free: 92 kB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/2.214, allocations: 0 / 1.545 GB, free: 92 kB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003698/2.214, allocations: 328.7 kB / 1.546 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/2.214, allocations: 128.5 kB / 1.546 GB, free: 15.58 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.77e-05/2.214, allocations: 7.953 kB / 1.546 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/2.215, allocations: 19.98 kB / 1.546 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.144e-05/2.215, allocations: 11.98 kB / 1.546 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/2.215, allocations: 11.98 kB / 1.546 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002256/2.215, allocations: 225.2 kB / 1.546 GB, free: 15.31 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.7e-07/2.215, allocations: 0 / 1.546 GB, free: 15.31 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0006132/2.215, allocations: 167.8 kB / 1.546 GB, free: 15.15 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 () * 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.001154/2.217, allocations: 1.24 MB / 1.548 GB, free: 13.87 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003039/2.217, allocations: 162 kB / 1.548 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/2.217, allocations: 0 / 1.548 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001045/2.217, allocations: 63.92 kB / 1.548 GB, free: 13.65 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007163/2.218, allocations: 142.8 kB / 1.548 GB, free: 13.51 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009275/2.219, allocations: 476.4 kB / 1.548 GB, free: 13 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004007/2.219, allocations: 0.8 MB / 1.549 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003552/2.22, allocations: 99.48 kB / 1.549 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/2.22, allocations: 107.9 kB / 1.549 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of SimCode: time 2.51e-07/2.22, allocations: 4 kB / 1.549 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02616/2.246, allocations: 10.86 MB / 1.56 GB, free: 1.273 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002776/2.246, allocations: 205.7 kB / 1.56 GB, free: 1.051 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.232/4.478, allocations: 4 kB / 1.56 GB, free: 1.047 MB / 0.8855 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter.fmu > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)