Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="IBPSA_latest_IBPSA_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.00101/0.00101, allocations: 105.5 kB / 16.27 MB, free: 5.93 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.001123/0.001123, allocations: 186.9 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.243/1.243, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6947/0.6947, allocations: 122.9 MB / 413.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 59.91 kB / 0.4912 GB, free: 7.336 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.2709, allocations: 77.93 MB / 0.5673 GB, free: 32.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.PressureDrop): time 0.1348/0.4057, allocations: 161.5 MB / 0.725 GB, free: 8.75 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002431/0.4081, allocations: 1.71 MB / 0.7266 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002643/0.4084, allocations: 15.88 kB / 0.7267 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004519/0.4089, allocations: 155 kB / 0.7268 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001013/0.4099, allocations: 0.5076 MB / 0.7273 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009348/0.4109, allocations: 428.7 kB / 0.7277 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006355/0.4115, allocations: 0.5615 MB / 0.7283 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002774/0.4118, allocations: 184.5 kB / 0.7284 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005128/0.4124, allocations: 318.7 kB / 0.7287 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001795/0.4125, allocations: 155.3 kB / 0.7289 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.332e-05/0.4126, allocations: 12 kB / 0.7289 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009252/0.4135, allocations: 0.6937 MB / 0.7296 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.388e-05/0.4136, allocations: 75.78 kB / 0.7297 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.4137, allocations: 119.3 kB / 0.7298 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006073/0.4143, allocations: 0.4908 MB / 0.7302 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.4144, allocations: 0 / 0.7302 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.203e-06/0.4144, allocations: 0 / 0.7302 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.4144, allocations: 0 / 0.7302 GB, free: 3.348 MB / 0.5606 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.0007002/0.4151, allocations: 0.5838 MB / 0.7308 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.4151, allocations: 12.62 kB / 0.7308 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.245e-05/0.4152, allocations: 46.55 kB / 0.7309 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002967/0.4155, allocations: 55.59 kB / 0.7309 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003017/0.4158, allocations: 293.3 kB / 0.7312 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.4158, allocations: 8 kB / 0.7312 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.4158, allocations: 16 kB / 0.7312 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000325/0.4162, allocations: 204 kB / 0.7314 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.4162, allocations: 0 / 0.7314 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.4162, allocations: 4 kB / 0.7314 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.4162, allocations: 7.984 kB / 0.7314 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000278/0.4165, allocations: 127.8 kB / 0.7316 GB, free: 1.895 MB / 0.5606 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.0008497/0.4174, allocations: 0.7809 MB / 0.7323 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002113/0.4176, allocations: 90.47 kB / 0.7324 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001418/0.4177, allocations: 72.88 kB / 0.7325 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002905/0.418, allocations: 186.2 kB / 0.7327 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.4181, allocations: 38.56 kB / 0.7327 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.4181, allocations: 0 / 0.7327 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.000596/0.4187, allocations: 217.2 kB / 0.7329 GB, free: 396 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.555e-05/0.4187, allocations: 55.41 kB / 0.733 GB, free: 328 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002167/0.4189, allocations: 271 kB / 0.7332 GB, free: 44 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.419, allocations: 29.7 kB / 0.7332 GB, free: 8 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.261e-05/0.419, allocations: 147.9 kB / 0.7334 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.035e-05/0.4191, allocations: 39.48 kB / 0.7334 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.172e-05/0.4191, allocations: 29.7 kB / 0.7334 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.396e-05/0.4192, allocations: 330.8 kB / 0.7338 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.4194, allocations: 53.14 kB / 0.7338 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/0.4195, allocations: 93.05 kB / 0.7339 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002423/0.4198, allocations: 123.3 kB / 0.734 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.4198, allocations: 0 / 0.734 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003173/0.4201, allocations: 165.2 kB / 0.7342 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.4201, allocations: 10.5 kB / 0.7342 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.4201, allocations: 3.938 kB / 0.7342 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.4202, allocations: 0 / 0.7342 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.4203, allocations: 23.92 kB / 0.7342 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.4203, allocations: 4 kB / 0.7342 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001589/0.4205, allocations: 15.89 kB / 0.7342 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.4205, allocations: 12.03 kB / 0.7342 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000176/0.4207, allocations: 149 kB / 0.7344 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001389/0.4208, allocations: 89.11 kB / 0.7345 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002227/0.421, allocations: 123.3 kB / 0.7346 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.92e-07/0.4211, allocations: 0 / 0.7346 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002889/0.4213, allocations: 145.4 kB / 0.7347 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.147e-06/0.4214, allocations: 8 kB / 0.7347 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-06/0.4214, allocations: 3.938 kB / 0.7347 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.256e-06/0.4214, allocations: 3.938 kB / 0.7347 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.4215, allocations: 28.02 kB / 0.7348 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.4215, allocations: 3.984 kB / 0.7348 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.4217, allocations: 23.81 kB / 0.7348 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.4217, allocations: 8 kB / 0.7348 GB, free: 14.31 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.81e-05/0.4218, allocations: 180.3 kB / 0.735 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.625e-05/0.4218, allocations: 28 kB / 0.735 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003343/0.4222, allocations: 163.2 kB / 0.7352 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.4222, allocations: 8.109 kB / 0.7352 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.4222, allocations: 4.469 kB / 0.7352 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.4222, allocations: 0 / 0.7352 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007534/0.4229, allocations: 0.5898 MB / 0.7357 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.423, allocations: 0 / 0.7357 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.4231, allocations: 27.92 kB / 0.7358 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.4231, allocations: 3.938 kB / 0.7358 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.4231, allocations: 8 kB / 0.7358 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.4231, allocations: 4 kB / 0.7358 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4231, allocations: 4.156 kB / 0.7358 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000332/0.4235, allocations: 301.1 kB / 0.7361 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.273e-05/0.4235, allocations: 112.8 kB / 0.7362 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.287e-05/0.4236, allocations: 4 kB / 0.7362 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.4238, allocations: 11.98 kB / 0.7362 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/0.4238, allocations: 15.92 kB / 0.7362 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.4238, allocations: 8 kB / 0.7362 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001508/0.424, allocations: 197.9 kB / 0.7364 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.424, allocations: 3.938 kB / 0.7364 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004162/0.4244, allocations: 95.84 kB / 0.7365 GB, free: 12.41 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007493/0.4252, allocations: 0.8804 MB / 0.7374 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004217/0.4256, allocations: 176.1 kB / 0.7375 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4256, allocations: 192 / 0.7375 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.4258, allocations: 59.89 kB / 0.7376 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006425/0.4264, allocations: 126.4 kB / 0.7377 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00238/0.4288, allocations: 2.35 MB / 0.74 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.4291, allocations: 0.7558 MB / 0.7407 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001987/0.4293, allocations: 70.16 kB / 0.7408 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.495e-05/0.4294, allocations: 67.42 kB / 0.7409 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of SimCode: time 1.373e-06/0.4294, allocations: 0 / 0.7409 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.651/3.081, allocations: 6.841 MB / 0.7476 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.51/10.59, allocations: 11.92 kB / 0.7476 GB, free: 1.07 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PressureDrop.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)