Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.363/2.363, allocations: 251 MB / 265.9 MB, free: 11.66 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.001462/0.001462, allocations: 189.5 kB / 325.5 MB, free: 2.848 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.308/2.308, allocations: 205.4 MB / 0.5764 GB, free: 20.82 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.001143/0.001142, allocations: 101.6 kB / 0.6809 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004899/0.00049, allocations: 11.62 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2253, allocations: 106.3 MB / 0.8988 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.236/1.461, allocations: 394 MB / 1.284 GB, free: 8.531 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002991/1.461, allocations: 86.95 kB / 1.284 GB, free: 8.484 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.188/2.649, allocations: 163.4 MB / 1.443 GB, free: 292.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.174e-06/2.649, allocations: 0 / 1.443 GB, free: 292.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.286e-05/2.649, allocations: 11.2 kB / 1.443 GB, free: 292.3 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.001708/2.651, allocations: 0.7641 MB / 1.444 GB, free: 291.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/2.651, allocations: 6.562 kB / 1.444 GB, free: 291.8 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.799e-05/2.651, allocations: 50.62 kB / 1.444 GB, free: 291.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001092/2.651, allocations: 51.38 kB / 1.444 GB, free: 291.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04248/2.694, allocations: 13.42 MB / 1.457 GB, free: 290.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.223e-05/2.694, allocations: 15.64 kB / 1.457 GB, free: 290.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.952e-05/2.694, allocations: 21.77 kB / 1.457 GB, free: 290.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005289/2.694, allocations: 175.4 kB / 1.457 GB, free: 290.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/2.694, allocations: 0 / 1.457 GB, free: 290.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.839e-05/2.694, allocations: 10.59 kB / 1.457 GB, free: 290.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/2.695, allocations: 6.156 kB / 1.457 GB, free: 290.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005127/2.695, allocations: 138 kB / 1.458 GB, free: 290.7 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.001488/2.697, allocations: 0.8418 MB / 1.458 GB, free: 290.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000419/2.697, allocations: 121.1 kB / 1.458 GB, free: 290.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003189/2.697, allocations: 338 kB / 1.459 GB, free: 289.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/2.697, allocations: 34.5 kB / 1.459 GB, free: 289.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=12): time 2.615e-06/2.697, allocations: 0 / 1.459 GB, free: 289.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=12): time 0.0008481/2.698, allocations: 220 kB / 1.459 GB, free: 289.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/2.698, allocations: 55.41 kB / 1.459 GB, free: 289.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003888/2.699, allocations: 289.6 kB / 1.459 GB, free: 289.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.709e-05/2.699, allocations: 32.89 kB / 1.459 GB, free: 289.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/2.699, allocations: 196.5 kB / 1.46 GB, free: 289.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.44e-05/2.699, allocations: 37.41 kB / 1.46 GB, free: 289.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.101e-05/2.699, allocations: 0 / 1.46 GB, free: 289.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.958e-05/2.699, allocations: 348.6 kB / 1.46 GB, free: 288.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/2.699, allocations: 46.53 kB / 1.46 GB, free: 288.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002474/2.7, allocations: 105.1 kB / 1.46 GB, free: 288.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002161/2.7, allocations: 53.06 kB / 1.46 GB, free: 288.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/2.7, allocations: 2.656 kB / 1.46 GB, free: 288.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005495/2.7, allocations: 171.7 kB / 1.46 GB, free: 288.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 6.927e-05/2.7, allocations: 188 kB / 1.461 GB, free: 288.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/2.7, allocations: 0 / 1.461 GB, free: 288.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/2.7, allocations: 0 / 1.461 GB, free: 288.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002336/2.701, allocations: 29.08 kB / 1.461 GB, free: 288.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/2.701, allocations: 4.141 kB / 1.461 GB, free: 288.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000368/2.701, allocations: 37.17 kB / 1.461 GB, free: 288.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.479e-05/2.701, allocations: 13.72 kB / 1.461 GB, free: 288.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/2.701, allocations: 5.312 kB / 1.461 GB, free: 288.5 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004479/2.702, allocations: 114.4 kB / 1.461 GB, free: 288.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.756e-06/2.702, allocations: 0 / 1.461 GB, free: 288.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.171e-06/2.702, allocations: 6.578 kB / 1.461 GB, free: 288.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001982/2.702, allocations: 22.19 kB / 1.461 GB, free: 288.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/2.702, allocations: 3.875 kB / 1.461 GB, free: 288.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003153/2.702, allocations: 35.61 kB / 1.461 GB, free: 288.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.213e-05/2.702, allocations: 3.312 kB / 1.461 GB, free: 288.4 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.0002447/2.703, allocations: 230.5 kB / 1.461 GB, free: 288.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.14e-05/2.703, allocations: 39.59 kB / 1.461 GB, free: 288.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007491/2.703, allocations: 221.6 kB / 1.461 GB, free: 288.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/2.703, allocations: 7.781 kB / 1.461 GB, free: 288.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/2.703, allocations: 0 / 1.461 GB, free: 288.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/2.703, allocations: 3.234 kB / 1.461 GB, free: 288.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/2.705, allocations: 0.6165 MB / 1.462 GB, free: 287.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/2.705, allocations: 0 / 1.462 GB, free: 287.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000195/2.705, allocations: 28.47 kB / 1.462 GB, free: 287.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/2.705, allocations: 3.906 kB / 1.462 GB, free: 287.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/2.705, allocations: 4 kB / 1.462 GB, free: 287.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.82e-06/2.705, allocations: 3.406 kB / 1.462 GB, free: 287.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/2.705, allocations: 3.938 kB / 1.462 GB, free: 287.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006116/2.705, allocations: 353.9 kB / 1.462 GB, free: 287.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001573/2.706, allocations: 125.4 kB / 1.462 GB, free: 287.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.977e-05/2.706, allocations: 11.7 kB / 1.462 GB, free: 287.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003272/2.706, allocations: 21.02 kB / 1.462 GB, free: 287.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.303e-05/2.706, allocations: 14.38 kB / 1.462 GB, free: 287.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/2.706, allocations: 7.516 kB / 1.462 GB, free: 287.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002982/2.706, allocations: 231.1 kB / 1.463 GB, free: 287.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.8e-07/2.707, allocations: 3.344 kB / 1.463 GB, free: 287.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0008447/2.707, allocations: 166.6 kB / 1.463 GB, free: 287.1 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.001471/2.709, allocations: 1.277 MB / 1.464 GB, free: 286.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007677/2.71, allocations: 188.4 kB / 1.464 GB, free: 286.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/2.71, allocations: 4 kB / 1.464 GB, free: 286 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002709/2.71, allocations: 71.95 kB / 1.464 GB, free: 286 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/2.711, allocations: 146.2 kB / 1.464 GB, free: 286 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003518/2.715, allocations: 1.839 MB / 1.466 GB, free: 284.9 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/2.715, allocations: 0.8047 MB / 1.467 GB, free: 284.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0004629/2.716, allocations: 64.47 kB / 1.467 GB, free: 284.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001958/2.716, allocations: 118 kB / 1.467 GB, free: 284.1 MB / 0.8855 GB Notification: Performance of SimCode: time 1.243e-06/2.716, allocations: 3.938 kB / 1.467 GB, free: 284.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03794/2.754, allocations: 10.11 MB / 1.477 GB, free: 279.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002242/2.754, allocations: 232 kB / 1.477 GB, free: 279.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.904/5.658, allocations: 0 / 1.477 GB, free: 279.2 MB / 0.8855 GB