Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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.PressureDrop,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_FixedResistances_Examples_PressureDrop",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.183/2.183, allocations: 248.7 MB / 256.2 MB, free: 7.059 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.001468/0.001468, allocations: 174.9 kB / 315.4 MB, free: 4.008 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.071/2.071, allocations: 205.3 MB / 0.5662 GB, free: 0.5938 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001154/0.001153, allocations: 85.91 kB / 0.6704 GB, free: 5.797 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.889e-05/2.904e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1988/0.1989, allocations: 106.3 MB / 0.8841 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.139/7.338, allocations: 2.18 GB / 3.064 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/7.339, allocations: 83.52 kB / 3.065 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.269/8.608, allocations: 210.5 MB / 3.27 GB, free: 259.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.643e-06/8.608, allocations: 4.375 kB / 3.27 GB, free: 259.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.476e-05/8.608, allocations: 4.531 kB / 3.27 GB, free: 259.3 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001089/8.609, allocations: 0.5605 MB / 3.271 GB, free: 258.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/8.609, allocations: 9.156 kB / 3.271 GB, free: 258.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004812/8.61, allocations: 57.88 kB / 3.271 GB, free: 258.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006882/8.61, allocations: 304.9 kB / 3.271 GB, free: 258.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/8.611, allocations: 10.28 kB / 3.271 GB, free: 258.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.432e-05/8.611, allocations: 12.83 kB / 3.271 GB, free: 258.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002852/8.611, allocations: 85.3 kB / 3.271 GB, free: 258.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003605/8.611, allocations: 160.9 kB / 3.271 GB, free: 258.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/8.611, allocations: 0 / 3.271 GB, free: 258.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.371e-05/8.611, allocations: 7.609 kB / 3.271 GB, free: 258.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/8.611, allocations: 3.562 kB / 3.271 GB, free: 258.6 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.001361/8.613, allocations: 0.7346 MB / 3.272 GB, free: 258.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002257/8.613, allocations: 68.59 kB / 3.272 GB, free: 258.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001248/8.613, allocations: 57.28 kB / 3.272 GB, free: 258.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003346/8.613, allocations: 187.3 kB / 3.272 GB, free: 257.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/8.613, allocations: 38.28 kB / 3.272 GB, free: 257.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=10): time 2.044e-06/8.614, allocations: 0 / 3.272 GB, free: 257.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10): time 0.0006691/8.614, allocations: 135.4 kB / 3.272 GB, free: 257.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/8.614, allocations: 56.42 kB / 3.273 GB, free: 257.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002515/8.614, allocations: 187.2 kB / 3.273 GB, free: 257.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/8.615, allocations: 26.73 kB / 3.273 GB, free: 257.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/8.615, allocations: 154.3 kB / 3.273 GB, free: 257.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.409e-05/8.615, allocations: 33.91 kB / 3.273 GB, free: 257.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.637e-06/8.615, allocations: 1.094 kB / 3.273 GB, free: 257.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.931e-05/8.615, allocations: 330.3 kB / 3.273 GB, free: 257.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.508e-05/8.615, allocations: 23.77 kB / 3.273 GB, free: 257.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001723/8.615, allocations: 83.09 kB / 3.273 GB, free: 257.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/8.615, allocations: 38.67 kB / 3.273 GB, free: 257.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/8.615, allocations: 0.9375 kB / 3.273 GB, free: 257.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002988/8.616, allocations: 119 kB / 3.274 GB, free: 257.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001064/8.616, allocations: 359.3 kB / 3.274 GB, free: 256.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/8.616, allocations: 1.094 kB / 3.274 GB, free: 256.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/8.616, allocations: 4.609 kB / 3.274 GB, free: 256.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002387/8.616, allocations: 25.53 kB / 3.274 GB, free: 256.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/8.616, allocations: 2.125 kB / 3.274 GB, free: 256.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003486/8.616, allocations: 25.33 kB / 3.274 GB, free: 256.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.372e-05/8.616, allocations: 9.5 kB / 3.274 GB, free: 256.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/8.616, allocations: 3.625 kB / 3.274 GB, free: 256.7 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00021/8.617, allocations: 73.92 kB / 3.274 GB, free: 256.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/8.617, allocations: 4.5 kB / 3.274 GB, free: 256.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.312e-06/8.617, allocations: 9.484 kB / 3.274 GB, free: 256.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002027/8.617, allocations: 24.31 kB / 3.274 GB, free: 256.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.396e-06/8.617, allocations: 2.25 kB / 3.274 GB, free: 256.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003293/8.617, allocations: 23.97 kB / 3.274 GB, free: 256.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.753e-05/8.617, allocations: 6.062 kB / 3.274 GB, free: 256.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 10 * 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.733e-05/8.617, allocations: 104.5 kB / 3.274 GB, free: 256.6 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002786/8.618, allocations: 117.3 kB / 3.274 GB, free: 256.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.707e-05/8.618, allocations: 22.33 kB / 3.274 GB, free: 256.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003126/8.618, allocations: 124 kB / 3.274 GB, free: 256.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/8.618, allocations: 5 kB / 3.274 GB, free: 256.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/8.618, allocations: 1.344 kB / 3.274 GB, free: 256.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/8.618, allocations: 0 / 3.274 GB, free: 256.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009736/8.619, allocations: 0.5107 MB / 3.275 GB, free: 256.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.004e-06/8.619, allocations: 9.859 kB / 3.275 GB, free: 256.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002092/8.619, allocations: 27.78 kB / 3.275 GB, free: 256.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.264e-06/8.619, allocations: 2.562 kB / 3.275 GB, free: 256.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/8.619, allocations: 5.156 kB / 3.275 GB, free: 256.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/8.619, allocations: 2.312 kB / 3.275 GB, free: 256.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.85e-06/8.619, allocations: 1.969 kB / 3.275 GB, free: 256.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003549/8.62, allocations: 340.6 kB / 3.275 GB, free: 255.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/8.62, allocations: 115.4 kB / 3.275 GB, free: 255.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.076e-05/8.62, allocations: 2.5 kB / 3.275 GB, free: 255.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003446/8.62, allocations: 19.25 kB / 3.275 GB, free: 255.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.16e-05/8.62, allocations: 12.88 kB / 3.275 GB, free: 255.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/8.62, allocations: 4.812 kB / 3.275 GB, free: 255.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001767/8.621, allocations: 157.5 kB / 3.276 GB, free: 255.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.41e-07/8.621, allocations: 2.594 kB / 3.276 GB, free: 255.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009398/8.622, allocations: 156.3 kB / 3.276 GB, free: 255.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.002543/8.624, allocations: 2.272 MB / 3.278 GB, free: 254.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004317/8.625, allocations: 116.6 kB / 3.278 GB, free: 254.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/8.625, allocations: 3.938 kB / 3.278 GB, free: 254.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/8.625, allocations: 47.69 kB / 3.278 GB, free: 254.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/8.626, allocations: 103.5 kB / 3.278 GB, free: 254.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/8.627, allocations: 377.8 kB / 3.279 GB, free: 254 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/8.627, allocations: 0.7591 MB / 3.279 GB, free: 253.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0004947/8.628, allocations: 71.38 kB / 3.279 GB, free: 253.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/8.628, allocations: 60.2 kB / 3.279 GB, free: 253.3 MB / 0.8698 GB Notification: Performance of SimCode: time 1.172e-06/8.628, allocations: 3.344 kB / 3.279 GB, free: 253.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05692/8.685, allocations: 12.31 MB / 3.291 GB, free: 252.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003023/8.685, allocations: 179.8 kB / 3.292 GB, free: 252.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.896/11.58, allocations: 2.672 kB / 3.292 GB, free: 252.6 MB / 0.8698 GB