Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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.PressureDrop,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.609/2.609, allocations: 287.3 MB / 302.3 MB, free: 8.262 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.001535/0.001535, allocations: 179.2 kB / 370.8 MB, free: 10.84 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.092/2.092, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001167/0.001166, allocations: 94.41 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005001/0.0005002, allocations: 10.69 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2277, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.739/6.967, allocations: 2.062 GB / 3.04 GB, free: 212.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003108/6.967, allocations: 86.95 kB / 3.04 GB, free: 212.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.48/8.447, allocations: 220.3 MB / 3.256 GB, free: 284.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.595e-06/8.447, allocations: 0 / 3.256 GB, free: 284.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.571e-05/8.447, allocations: 10.34 kB / 3.256 GB, free: 284.6 MB / 0.948 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.001387/8.449, allocations: 0.6094 MB / 3.256 GB, free: 284.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/8.449, allocations: 12.5 kB / 3.256 GB, free: 284.2 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.988e-05/8.449, allocations: 45.58 kB / 3.256 GB, free: 284.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004474/8.449, allocations: 56 kB / 3.256 GB, free: 284.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006867/8.45, allocations: 302.4 kB / 3.257 GB, free: 284 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/8.45, allocations: 14.09 kB / 3.257 GB, free: 284 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.096e-05/8.45, allocations: 19.78 kB / 3.257 GB, free: 284 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006516/8.451, allocations: 187.9 kB / 3.257 GB, free: 283.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/8.451, allocations: 0 / 3.257 GB, free: 283.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.135e-05/8.451, allocations: 6.422 kB / 3.257 GB, free: 283.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/8.451, allocations: 3.25 kB / 3.257 GB, free: 283.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005574/8.451, allocations: 128.7 kB / 3.257 GB, free: 283.9 MB / 0.948 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.001544/8.453, allocations: 0.8009 MB / 3.258 GB, free: 283.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003613/8.453, allocations: 87.42 kB / 3.258 GB, free: 283.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003512/8.454, allocations: 182.8 kB / 3.258 GB, free: 283.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/8.454, allocations: 40.44 kB / 3.258 GB, free: 283.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 2.645e-06/8.454, allocations: 0 / 3.258 GB, free: 283.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.001229/8.455, allocations: 222.3 kB / 3.258 GB, free: 283.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/8.455, allocations: 52.31 kB / 3.258 GB, free: 283.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004106/8.456, allocations: 239.2 kB / 3.258 GB, free: 283 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/8.456, allocations: 26.8 kB / 3.258 GB, free: 282.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/8.456, allocations: 148.5 kB / 3.259 GB, free: 282.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.847e-05/8.456, allocations: 40.53 kB / 3.259 GB, free: 282.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.126e-05/8.456, allocations: 0 / 3.259 GB, free: 282.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.965e-05/8.456, allocations: 338.9 kB / 3.259 GB, free: 282.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002224/8.456, allocations: 40.23 kB / 3.259 GB, free: 282.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002882/8.456, allocations: 106 kB / 3.259 GB, free: 282.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002438/8.457, allocations: 58.88 kB / 3.259 GB, free: 282.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/8.457, allocations: 0 / 3.259 GB, free: 282.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006117/8.457, allocations: 157.9 kB / 3.259 GB, free: 282.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000107/8.457, allocations: 362.4 kB / 3.26 GB, free: 282 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/8.457, allocations: 2.984 kB / 3.26 GB, free: 282 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/8.458, allocations: 2.5 kB / 3.26 GB, free: 282 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002472/8.458, allocations: 27.12 kB / 3.26 GB, free: 282 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/8.458, allocations: 1.281 kB / 3.26 GB, free: 282 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003736/8.458, allocations: 32.36 kB / 3.26 GB, free: 282 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.375e-05/8.458, allocations: 6.359 kB / 3.26 GB, free: 282 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/8.458, allocations: 5.438 kB / 3.26 GB, free: 282 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005306/8.459, allocations: 121.2 kB / 3.26 GB, free: 282 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/8.459, allocations: 1.031 kB / 3.26 GB, free: 282 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.711e-06/8.459, allocations: 2.094 kB / 3.26 GB, free: 282 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002125/8.459, allocations: 28.45 kB / 3.26 GB, free: 282 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/8.459, allocations: 5.781 kB / 3.26 GB, free: 282 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003338/8.459, allocations: 31.03 kB / 3.26 GB, free: 282 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.719e-05/8.459, allocations: 8.969 kB / 3.26 GB, free: 282 MB / 0.948 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 () * Number of clocked 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 0.000222/8.46, allocations: 219.1 kB / 3.26 GB, free: 281.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.204e-05/8.46, allocations: 27.05 kB / 3.26 GB, free: 281.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006334/8.46, allocations: 166.7 kB / 3.26 GB, free: 281.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/8.46, allocations: 1.531 kB / 3.26 GB, free: 281.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/8.46, allocations: 4.828 kB / 3.26 GB, free: 281.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/8.46, allocations: 0.5156 kB / 3.26 GB, free: 281.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001357/8.462, allocations: 0.5929 MB / 3.261 GB, free: 281.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/8.462, allocations: 2.281 kB / 3.261 GB, free: 281.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002187/8.462, allocations: 23.47 kB / 3.261 GB, free: 281.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.518e-06/8.462, allocations: 6.875 kB / 3.261 GB, free: 281.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/8.462, allocations: 6.969 kB / 3.261 GB, free: 281.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/8.462, allocations: 3.297 kB / 3.261 GB, free: 281.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.922e-06/8.462, allocations: 5.094 kB / 3.261 GB, free: 281.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000663/8.463, allocations: 381.5 kB / 3.261 GB, free: 281.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001524/8.463, allocations: 110.3 kB / 3.261 GB, free: 281 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.243e-05/8.463, allocations: 11.81 kB / 3.261 GB, free: 281 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003585/8.463, allocations: 24 kB / 3.261 GB, free: 281 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.132e-05/8.464, allocations: 15.77 kB / 3.261 GB, free: 281 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.159e-05/8.464, allocations: 8.609 kB / 3.261 GB, free: 281 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003057/8.464, allocations: 195.9 kB / 3.262 GB, free: 280.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.11e-07/8.464, allocations: 0 / 3.262 GB, free: 280.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001047/8.465, allocations: 173.4 kB / 3.262 GB, free: 280.9 MB / 0.948 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 () * Number of clocked 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.002991/8.468, allocations: 2.182 MB / 3.264 GB, free: 279.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009512/8.469, allocations: 175.7 kB / 3.264 GB, free: 279.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/8.469, allocations: 0.6562 kB / 3.264 GB, free: 279.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002822/8.469, allocations: 70.64 kB / 3.264 GB, free: 279.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001399/8.471, allocations: 131.5 kB / 3.264 GB, free: 279.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003357/8.474, allocations: 1.779 MB / 3.266 GB, free: 278.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/8.474, allocations: 0.7609 MB / 3.267 GB, free: 277.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004991/8.475, allocations: 63.53 kB / 3.267 GB, free: 277.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001606/8.475, allocations: 71.64 kB / 3.267 GB, free: 277.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.483e-06/8.475, allocations: 4.5 kB / 3.267 GB, free: 277.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06772/8.543, allocations: 20.26 MB / 3.287 GB, free: 277.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002515/8.543, allocations: 219.8 kB / 3.287 GB, free: 277.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.452/12, allocations: 0 / 3.287 GB, free: 277.3 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_PressureDrop.fmu > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)