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.798/2.798, allocations: 287.5 MB / 302.4 MB, free: 8.289 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.001438/0.001438, allocations: 181.5 kB / 371 MB, free: 10.86 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.1/2.1, allocations: 205.4 MB / 0.6297 GB, free: 10.6 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.0009687/0.0009683, allocations: 99.45 kB / 0.743 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004774/0.0004776, allocations: 11.84 kB / 0.8659 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.2189, allocations: 115.3 MB / 0.9784 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01813/0.2371, allocations: 13.77 MB / 0.9919 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006516/0.2437, allocations: 3.579 MB / 0.9954 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006324/0.2444, allocations: 19.88 kB / 0.9954 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006662/0.245, allocations: 135.1 kB / 0.9955 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002297/0.2474, allocations: 0.5536 MB / 0.9961 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001717/0.2491, allocations: 408.3 kB / 0.9965 GB, free: 9.766 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002145/0.2513, allocations: 1.182 MB / 0.9976 GB, free: 8.578 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005158/0.2518, allocations: 224.6 kB / 0.9978 GB, free: 8.355 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009265/0.2528, allocations: 350.4 kB / 0.9982 GB, free: 8.012 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004256/0.2532, allocations: 254.8 kB / 0.9984 GB, free: 7.762 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.563e-05/0.2533, allocations: 12 kB / 0.9984 GB, free: 7.75 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001708/0.255, allocations: 0.6315 MB / 0.999 GB, free: 7.117 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001354/0.2552, allocations: 59.73 kB / 0.9991 GB, free: 7.059 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001592/0.2554, allocations: 97.45 kB / 0.9992 GB, free: 6.957 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001085/0.2565, allocations: 490.9 kB / 0.9997 GB, free: 6.477 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.2565, allocations: 0 / 0.9997 GB, free: 6.477 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2565, allocations: 0 / 0.9997 GB, free: 6.477 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.114e-06/0.2565, allocations: 0 / 0.9997 GB, free: 6.477 MB / 0.6198 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.001301/0.2578, allocations: 0.6813 MB / 1 GB, free: 5.742 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.2579, allocations: 15.97 kB / 1 GB, free: 5.727 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.429e-05/0.258, allocations: 50.55 kB / 1 GB, free: 5.668 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001338/0.2581, allocations: 47.44 kB / 1 GB, free: 5.621 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/0.2593, allocations: 493 kB / 1.001 GB, free: 5.102 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.2593, allocations: 12.33 kB / 1.001 GB, free: 5.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.898e-05/0.2594, allocations: 16 kB / 1.001 GB, free: 5.074 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005076/0.2599, allocations: 184.2 kB / 1.001 GB, free: 4.891 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.2599, allocations: 0 / 1.001 GB, free: 4.891 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.853e-05/0.26, allocations: 12 kB / 1.001 GB, free: 4.879 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.26, allocations: 7.984 kB / 1.001 GB, free: 4.871 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004946/0.2605, allocations: 144.2 kB / 1.001 GB, free: 4.73 MB / 0.6198 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.00144/0.262, allocations: 0.8645 MB / 1.002 GB, free: 3.766 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000413/0.2624, allocations: 118.6 kB / 1.002 GB, free: 3.641 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002416/0.2627, allocations: 84.75 kB / 1.002 GB, free: 3.555 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003199/0.263, allocations: 336.4 kB / 1.003 GB, free: 3.152 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.263, allocations: 38.5 kB / 1.003 GB, free: 3.105 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 2.695e-06/0.263, allocations: 0 / 1.003 GB, free: 3.105 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.0008507/0.2639, allocations: 233.1 kB / 1.003 GB, free: 2.871 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.264, allocations: 55.41 kB / 1.003 GB, free: 2.805 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004379/0.2644, allocations: 341.7 kB / 1.003 GB, free: 2.465 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/0.2644, allocations: 25.7 kB / 1.003 GB, free: 2.434 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.2646, allocations: 204.2 kB / 1.003 GB, free: 2.23 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.77e-05/0.2647, allocations: 39.45 kB / 1.004 GB, free: 2.191 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.758e-06/0.2647, allocations: 0 / 1.004 GB, free: 2.191 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.929e-05/0.2648, allocations: 342.8 kB / 1.004 GB, free: 1.848 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002081/0.265, allocations: 47.95 kB / 1.004 GB, free: 1.801 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002403/0.2652, allocations: 92.19 kB / 1.004 GB, free: 1.695 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002177/0.2655, allocations: 59.95 kB / 1.004 GB, free: 1.637 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.2655, allocations: 4 kB / 1.004 GB, free: 1.633 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006224/0.2661, allocations: 177.2 kB / 1.004 GB, free: 1.453 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.34e-05/0.2662, allocations: 109.8 kB / 1.004 GB, free: 1.336 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.2662, allocations: 0 / 1.004 GB, free: 1.336 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.2662, allocations: 0 / 1.004 GB, free: 1.336 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002466/0.2665, allocations: 39.86 kB / 1.004 GB, free: 1.297 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.2665, allocations: 0 / 1.004 GB, free: 1.297 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003991/0.2669, allocations: 35.81 kB / 1.004 GB, free: 1.262 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.545e-05/0.267, allocations: 4 kB / 1.004 GB, free: 1.258 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.945e-06/0.267, allocations: 8 kB / 1.004 GB, free: 1.25 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000462/0.2675, allocations: 132 kB / 1.005 GB, free: 1.121 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-06/0.2675, allocations: 0 / 1.005 GB, free: 1.121 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.468e-06/0.2675, allocations: 0 / 1.005 GB, free: 1.121 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001954/0.2677, allocations: 23.98 kB / 1.005 GB, free: 1.098 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.2677, allocations: 8 kB / 1.005 GB, free: 1.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004004/0.2681, allocations: 27.88 kB / 1.005 GB, free: 1.062 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.547e-05/0.2682, allocations: 15.89 kB / 1.005 GB, free: 1.047 MB / 0.6198 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.0002247/0.2684, allocations: 218.4 kB / 1.005 GB, free: 0.8242 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.08e-05/0.2685, allocations: 35.62 kB / 1.005 GB, free: 0.7891 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007463/0.2692, allocations: 241.1 kB / 1.005 GB, free: 0.543 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.2693, allocations: 0 / 1.005 GB, free: 0.543 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.2693, allocations: 0 / 1.005 GB, free: 0.543 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.2693, allocations: 3.984 kB / 1.005 GB, free: 0.5391 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001403/0.2707, allocations: 0.6457 MB / 1.006 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/0.2708, allocations: 96 / 1.006 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002108/0.271, allocations: 31.92 kB / 1.006 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.109e-05/0.271, allocations: 4 kB / 1.006 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.271, allocations: 0 / 1.006 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.518e-06/0.2711, allocations: 7.953 kB / 1.006 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.2711, allocations: 0 / 1.006 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007456/0.2718, allocations: 323.6 kB / 1.006 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002127/0.272, allocations: 132.5 kB / 1.006 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.53e-05/0.2721, allocations: 7.938 kB / 1.006 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003946/0.2725, allocations: 31.91 kB / 1.006 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.926e-05/0.2726, allocations: 15.94 kB / 1.006 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.65e-05/0.2727, allocations: 4 kB / 1.006 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003925/0.2731, allocations: 247.2 kB / 1.006 GB, free: 15 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.31e-07/0.2731, allocations: 0 / 1.006 GB, free: 15 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008643/0.2739, allocations: 191.7 kB / 1.007 GB, free: 14.81 MB / 0.6355 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.00179/0.2758, allocations: 0.9907 MB / 1.008 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0008552/0.2766, allocations: 199.8 kB / 1.008 GB, free: 13.6 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.2767, allocations: 0 / 1.008 GB, free: 13.6 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003098/0.277, allocations: 92 kB / 1.008 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001486/0.2785, allocations: 141.6 kB / 1.008 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004213/0.2827, allocations: 1.774 MB / 1.01 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004475/0.2832, allocations: 0.7959 MB / 1.011 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005001/0.2838, allocations: 79.44 kB / 1.011 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002249/0.284, allocations: 111.3 kB / 1.011 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of SimCode: time 1.082e-06/0.284, allocations: 3.938 kB / 1.011 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04436/0.3284, allocations: 9.563 MB / 1.02 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002571/0.3287, allocations: 233 kB / 1.02 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.933/3.261, allocations: 0 / 1.02 GB, free: 0.9531 MB / 0.6355 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)