Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009375/0.0009377, allocations: 99.39 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009649/0.000965, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.699/1.699, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.029/2.029, allocations: 292.6 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005477/0.0005478, allocations: 14.66 kB / 0.6737 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2422, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.8256/1.068, allocations: 135.6 MB / 0.9197 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002907/1.071, allocations: 1.615 MB / 0.9212 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003954/1.071, allocations: 8.312 kB / 0.9212 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006977/1.072, allocations: 176.7 kB / 0.9214 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001978/1.074, allocations: 491 kB / 0.9219 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001587/1.076, allocations: 436.8 kB / 0.9223 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007582/1.076, allocations: 356.9 kB / 0.9226 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003372/1.077, allocations: 142.8 kB / 0.9228 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000466/1.077, allocations: 215.8 kB / 0.923 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/1.077, allocations: 108.3 kB / 0.9231 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.324e-05/1.077, allocations: 5.969 kB / 0.9231 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008899/1.078, allocations: 383.8 kB / 0.9235 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.963e-05/1.078, allocations: 71.69 kB / 0.9235 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003208/1.079, allocations: 67.64 kB / 0.9236 GB, free: 21.69 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004583/1.079, allocations: 283.9 kB / 0.9239 GB, free: 21.67 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/1.079, allocations: 0 / 0.9239 GB, free: 21.67 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.467e-06/1.079, allocations: 0 / 0.9239 GB, free: 21.67 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.821e-06/1.079, allocations: 0 / 0.9239 GB, free: 21.67 MB / 0.7325 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.0008207/1.08, allocations: 0.5328 MB / 0.9244 GB, free: 21.22 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/1.08, allocations: 10.06 kB / 0.9244 GB, free: 21.22 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.612e-05/1.08, allocations: 52.62 kB / 0.9244 GB, free: 21.18 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003438/1.08, allocations: 51.58 kB / 0.9245 GB, free: 21.16 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003853/1.081, allocations: 280.8 kB / 0.9248 GB, free: 20.94 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/1.081, allocations: 11.78 kB / 0.9248 GB, free: 20.94 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.876e-05/1.081, allocations: 15.02 kB / 0.9248 GB, free: 20.94 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003648/1.081, allocations: 194.9 kB / 0.925 GB, free: 20.88 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/1.081, allocations: 0 / 0.925 GB, free: 20.88 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/1.081, allocations: 9.328 kB / 0.925 GB, free: 20.88 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/1.081, allocations: 2.531 kB / 0.925 GB, free: 20.88 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000311/1.082, allocations: 140.3 kB / 0.9251 GB, free: 20.88 MB / 0.7325 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.001119/1.083, allocations: 0.7912 MB / 0.9259 GB, free: 20.35 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002608/1.083, allocations: 99.27 kB / 0.926 GB, free: 20.32 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.756e-05/1.083, allocations: 6.703 kB / 0.926 GB, free: 20.32 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/1.083, allocations: 37 kB / 0.926 GB, free: 20.28 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.143e-06/1.083, allocations: 0 / 0.926 GB, free: 20.28 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0006758/1.084, allocations: 226.3 kB / 0.9262 GB, free: 20.24 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/1.084, allocations: 54.88 kB / 0.9263 GB, free: 20.18 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002788/1.084, allocations: 264.9 kB / 0.9265 GB, free: 20.07 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/1.084, allocations: 35.58 kB / 0.9266 GB, free: 20.04 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.846e-05/1.084, allocations: 141.6 kB / 0.9267 GB, free: 19.95 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.207e-05/1.084, allocations: 38.25 kB / 0.9267 GB, free: 19.93 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-06/1.084, allocations: 0 / 0.9267 GB, free: 19.93 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001436/1.084, allocations: 335 kB / 0.9271 GB, free: 19.61 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/1.085, allocations: 45.42 kB / 0.9271 GB, free: 19.61 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001576/1.085, allocations: 104 kB / 0.9272 GB, free: 19.56 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/1.085, allocations: 51.36 kB / 0.9273 GB, free: 19.56 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/1.085, allocations: 5.078 kB / 0.9273 GB, free: 19.55 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003399/1.085, allocations: 164.7 kB / 0.9274 GB, free: 19.51 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001917/1.085, allocations: 368.7 kB / 0.9278 GB, free: 19.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/1.086, allocations: 2.594 kB / 0.9278 GB, free: 19.14 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/1.086, allocations: 0.6094 kB / 0.9278 GB, free: 19.14 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/1.086, allocations: 29.75 kB / 0.9278 GB, free: 19.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/1.086, allocations: 11.98 kB / 0.9278 GB, free: 19.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/1.086, allocations: 20.16 kB / 0.9278 GB, free: 19.13 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.427e-05/1.086, allocations: 7.094 kB / 0.9278 GB, free: 19.13 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.422e-06/1.086, allocations: 2.75 kB / 0.9278 GB, free: 19.13 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002852/1.086, allocations: 124 kB / 0.928 GB, free: 19.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-06/1.086, allocations: 2.75 kB / 0.928 GB, free: 19.12 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-06/1.086, allocations: 0 / 0.928 GB, free: 19.12 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/1.086, allocations: 25.73 kB / 0.928 GB, free: 19.12 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.834e-06/1.086, allocations: 2.906 kB / 0.928 GB, free: 19.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001661/1.087, allocations: 33.62 kB / 0.928 GB, free: 19.11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/1.087, allocations: 9.141 kB / 0.928 GB, free: 19.11 MB / 0.7325 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.0001605/1.087, allocations: 219.1 kB / 0.9282 GB, free: 18.92 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4e-05/1.087, allocations: 23.16 kB / 0.9283 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003825/1.087, allocations: 176.1 kB / 0.9284 GB, free: 18.86 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/1.087, allocations: 0 / 0.9284 GB, free: 18.86 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/1.087, allocations: 6.875 kB / 0.9284 GB, free: 18.86 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/1.087, allocations: 0.7969 kB / 0.9284 GB, free: 18.86 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008691/1.088, allocations: 0.5952 MB / 0.929 GB, free: 18.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/1.088, allocations: 2.562 kB / 0.929 GB, free: 18.49 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/1.088, allocations: 33.19 kB / 0.9291 GB, free: 18.49 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/1.088, allocations: 6.859 kB / 0.9291 GB, free: 18.48 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/1.088, allocations: 5.844 kB / 0.9291 GB, free: 18.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/1.088, allocations: 2.953 kB / 0.9291 GB, free: 18.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.088, allocations: 2.75 kB / 0.9291 GB, free: 18.48 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003908/1.089, allocations: 386.3 kB / 0.9294 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/1.089, allocations: 110.6 kB / 0.9295 GB, free: 18.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.648e-05/1.089, allocations: 10.95 kB / 0.9296 GB, free: 18.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001972/1.089, allocations: 18.83 kB / 0.9296 GB, free: 18.05 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.614e-05/1.089, allocations: 13.38 kB / 0.9296 GB, free: 18.05 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/1.089, allocations: 6.5 kB / 0.9296 GB, free: 18.05 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002008/1.089, allocations: 194.3 kB / 0.9298 GB, free: 17.97 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/1.089, allocations: 0 / 0.9298 GB, free: 17.97 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004763/1.09, allocations: 102.2 kB / 0.9299 GB, free: 17.96 MB / 0.7325 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.001173/1.091, allocations: 1.468 MB / 0.9313 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004531/1.091, allocations: 177.7 kB / 0.9315 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/1.091, allocations: 0 / 0.9315 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001409/1.092, allocations: 65.62 kB / 0.9315 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000767/1.092, allocations: 126.5 kB / 0.9317 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002313/1.095, allocations: 1.768 MB / 0.9334 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003658/1.095, allocations: 0.7586 MB / 0.9341 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002571/1.095, allocations: 76.19 kB / 0.9342 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/1.095, allocations: 71.45 kB / 0.9343 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of SimCode: time 5.71e-07/1.095, allocations: 1.859 kB / 0.9343 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02809/1.124, allocations: 6.538 MB / 0.9407 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002086/1.124, allocations: 220.3 kB / 0.9409 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.944/3.068, allocations: 0 / 0.9409 GB, free: 14.12 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FixedResistances_Examples_PressureDrop.fmu > Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) Environment - environmentSimulation: