Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.518/1.518, allocations: 251.9 MB / 266.9 MB, free: 11.05 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.001194/0.001194, allocations: 178.3 kB / 326.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.866/1.866, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0009098/0.0009094, allocations: 90.3 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003461/0.0003461, allocations: 10.66 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.2187, allocations: 106.3 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1419/0.3607, allocations: 135.7 MB / 1.033 GB, free: 7.773 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.002587/0.3634, allocations: 1.661 MB / 1.034 GB, free: 6.109 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002488/0.3637, allocations: 7.938 kB / 1.034 GB, free: 6.102 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005392/0.3642, allocations: 183.2 kB / 1.034 GB, free: 5.922 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001152/0.3654, allocations: 498.5 kB / 1.035 GB, free: 5.434 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001248/0.3666, allocations: 472.5 kB / 1.035 GB, free: 4.98 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0005532/0.3672, allocations: 360 kB / 1.036 GB, free: 4.625 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002774/0.3675, allocations: 140.5 kB / 1.036 GB, free: 4.488 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004058/0.3679, allocations: 219.3 kB / 1.036 GB, free: 4.273 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.368, allocations: 107.5 kB / 1.036 GB, free: 4.168 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 2.481e-05/0.3681, allocations: 4 kB / 1.036 GB, free: 4.164 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006315/0.3687, allocations: 387.4 kB / 1.037 GB, free: 3.785 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 7.384e-05/0.3688, allocations: 63.81 kB / 1.037 GB, free: 3.723 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 6.135e-05/0.3689, allocations: 69.58 kB / 1.037 GB, free: 3.648 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0003622/0.3692, allocations: 275.7 kB / 1.037 GB, free: 3.379 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.3692, allocations: 4 kB / 1.037 GB, free: 3.375 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3692, allocations: 0 / 1.037 GB, free: 3.375 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.513e-06/0.3693, allocations: 3.938 kB / 1.037 GB, free: 3.371 MB / 0.6823 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.0007213/0.37, allocations: 0.5333 MB / 1.038 GB, free: 2.789 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.37, allocations: 12.03 kB / 1.038 GB, free: 2.777 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.946e-05/0.3701, allocations: 50.55 kB / 1.038 GB, free: 2.719 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003207/0.3704, allocations: 59.66 kB / 1.038 GB, free: 2.66 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003447/0.3708, allocations: 281.5 kB / 1.038 GB, free: 2.348 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.3708, allocations: 8 kB / 1.038 GB, free: 2.34 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.666e-05/0.3708, allocations: 20 kB / 1.038 GB, free: 2.32 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003548/0.3712, allocations: 188.2 kB / 1.038 GB, free: 2.121 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.3712, allocations: 0 / 1.038 GB, free: 2.121 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.3712, allocations: 8 kB / 1.038 GB, free: 2.113 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.3713, allocations: 7.984 kB / 1.038 GB, free: 2.105 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003004/0.3716, allocations: 139.8 kB / 1.038 GB, free: 1.969 MB / 0.6823 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.0009478/0.3725, allocations: 0.7848 MB / 1.039 GB, free: 1.113 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002463/0.3728, allocations: 94.59 kB / 1.039 GB, free: 1.012 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.799e-05/0.3728, allocations: 4 kB / 1.039 GB, free: 1.008 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.3729, allocations: 38.73 kB / 1.039 GB, free: 0.9609 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 2.365e-06/0.3729, allocations: 0 / 1.039 GB, free: 0.9609 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.000632/0.3735, allocations: 229.2 kB / 1.039 GB, free: 0.7305 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.3736, allocations: 59.34 kB / 1.039 GB, free: 0.6602 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000233/0.3738, allocations: 267 kB / 1.04 GB, free: 392 kB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.3738, allocations: 29.7 kB / 1.04 GB, free: 356 kB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.232e-05/0.3739, allocations: 147.9 kB / 1.04 GB, free: 204 kB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.167e-05/0.374, allocations: 31.55 kB / 1.04 GB, free: 172 kB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/0.374, allocations: 7.938 kB / 1.04 GB, free: 164 kB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.3741, allocations: 334.8 kB / 1.04 GB, free: 15.82 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000131/0.3742, allocations: 47.95 kB / 1.04 GB, free: 15.78 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001523/0.3744, allocations: 93.48 kB / 1.04 GB, free: 15.67 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.3745, allocations: 55.91 kB / 1.04 GB, free: 15.61 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3746, allocations: 4 kB / 1.04 GB, free: 15.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000321/0.3749, allocations: 169.5 kB / 1.041 GB, free: 15.44 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001269/0.375, allocations: 364 kB / 1.041 GB, free: 15.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.375, allocations: 7.922 kB / 1.041 GB, free: 15.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.375, allocations: 0 / 1.041 GB, free: 15.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.3752, allocations: 27.98 kB / 1.041 GB, free: 15.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.3752, allocations: 3.938 kB / 1.041 GB, free: 15.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001756/0.3754, allocations: 27.83 kB / 1.041 GB, free: 14.99 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.159e-05/0.3754, allocations: 4 kB / 1.041 GB, free: 14.98 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.225e-06/0.3754, allocations: 5.719 kB / 1.041 GB, free: 14.98 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002665/0.3757, allocations: 119.8 kB / 1.041 GB, free: 14.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-06/0.3757, allocations: 0 / 1.041 GB, free: 14.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-06/0.3757, allocations: 0 / 1.041 GB, free: 14.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.3758, allocations: 27.98 kB / 1.041 GB, free: 14.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.3758, allocations: 7.938 kB / 1.041 GB, free: 14.83 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.376, allocations: 27.86 kB / 1.041 GB, free: 14.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.376, allocations: 4 kB / 1.041 GB, free: 14.8 MB / 0.698 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.0001393/0.3762, allocations: 217.6 kB / 1.041 GB, free: 14.57 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.745e-05/0.3762, allocations: 15.81 kB / 1.041 GB, free: 14.56 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003539/0.3766, allocations: 179.2 kB / 1.042 GB, free: 14.38 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.3766, allocations: 0 / 1.042 GB, free: 14.38 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.3766, allocations: 0 / 1.042 GB, free: 14.38 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.3766, allocations: 3.984 kB / 1.042 GB, free: 14.37 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000804/0.3774, allocations: 0.5977 MB / 1.042 GB, free: 13.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3774, allocations: 224 / 1.042 GB, free: 13.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.3776, allocations: 31.98 kB / 1.042 GB, free: 13.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.799e-06/0.3776, allocations: 11.95 kB / 1.042 GB, free: 13.65 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.3776, allocations: 4 kB / 1.042 GB, free: 13.65 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3776, allocations: 0 / 1.042 GB, free: 13.65 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.3776, allocations: 4 kB / 1.042 GB, free: 13.64 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000387/0.378, allocations: 393 kB / 1.043 GB, free: 13.18 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.3781, allocations: 124.7 kB / 1.043 GB, free: 13.04 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.109e-05/0.3781, allocations: 4 kB / 1.043 GB, free: 13.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002098/0.3784, allocations: 20.17 kB / 1.043 GB, free: 13.02 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.726e-05/0.3784, allocations: 11.98 kB / 1.043 GB, free: 13 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.3784, allocations: 7.938 kB / 1.043 GB, free: 13 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001535/0.3786, allocations: 194 kB / 1.043 GB, free: 12.81 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3786, allocations: 0 / 1.043 GB, free: 12.81 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004373/0.379, allocations: 99.83 kB / 1.043 GB, free: 12.71 MB / 0.698 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.001009/0.38, allocations: 1.455 MB / 1.044 GB, free: 11.19 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004362/0.3805, allocations: 175.8 kB / 1.045 GB, free: 11.02 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.3805, allocations: 0 / 1.045 GB, free: 11.02 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001455/0.3807, allocations: 72.39 kB / 1.045 GB, free: 10.95 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007312/0.3814, allocations: 126.8 kB / 1.045 GB, free: 10.82 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002009/0.3834, allocations: 1.78 MB / 1.047 GB, free: 8.973 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.3838, allocations: 0.7638 MB / 1.047 GB, free: 8.184 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002286/0.384, allocations: 70.2 kB / 1.047 GB, free: 8.117 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.3841, allocations: 71.41 kB / 1.047 GB, free: 8.047 MB / 0.698 GB Notification: Performance of SimCode: time 3.31e-07/0.3841, allocations: 3.938 kB / 1.047 GB, free: 8.043 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01797/0.4021, allocations: 6.534 MB / 1.054 GB, free: 1.703 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001813/0.4023, allocations: 234.1 kB / 1.054 GB, free: 1.461 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.799/2.202, allocations: 0.5625 kB / 1.054 GB, free: 1.461 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PressureDrop.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)