Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",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.001084/0.001084, allocations: 104.1 kB / 16.4 MB, free: 6.492 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.001049/0.001049, allocations: 193.2 kB / 17.34 MB, free: 5.738 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7237/0.7237, allocations: 115.3 MB / 406.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 65.97 kB / 0.5572 GB, free: 32.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1491, allocations: 76.17 MB / 0.6316 GB, free: 4.926 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.5617/0.7108, allocations: 187.8 MB / 0.815 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01405/0.7249, allocations: 10.77 MB / 0.8255 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001586/0.7266, allocations: 41.06 kB / 0.8256 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001557/0.7282, allocations: 497.1 kB / 0.826 GB, free: 6.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007033/0.7353, allocations: 2.585 MB / 0.8286 GB, free: 5.359 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00625/0.7415, allocations: 2.467 MB / 0.831 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003681/0.7452, allocations: 2.763 MB / 0.8337 GB, free: 2.422 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001336/0.7466, allocations: 0.7837 MB / 0.8344 GB, free: 1.926 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001976/0.7486, allocations: 1.018 MB / 0.8354 GB, free: 1.41 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002479/0.7511, allocations: 1.06 MB / 0.8365 GB, free: 0.8828 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003352/0.7514, allocations: 96.06 kB / 0.8366 GB, free: 0.8828 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006005/0.7574, allocations: 3.006 MB / 0.8395 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006424/0.7581, allocations: 444.4 kB / 0.8399 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000831/0.7589, allocations: 0.5773 MB / 0.8405 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.006246/0.7652, allocations: 2.958 MB / 0.8434 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.7652, allocations: 0 / 0.8434 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7652, allocations: 0 / 0.8434 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.253e-05/0.7653, allocations: 0 / 0.8434 GB, free: 13.14 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.003644/0.7689, allocations: 1.676 MB / 0.845 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.769, allocations: 10.16 kB / 0.845 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001427/0.7691, allocations: 114.4 kB / 0.8451 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001872/0.771, allocations: 297.2 kB / 0.8454 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001462/0.7725, allocations: 0.8314 MB / 0.8462 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.891e-05/0.7725, allocations: 60.92 kB / 0.8463 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.7726, allocations: 63.28 kB / 0.8463 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001517/0.7742, allocations: 0.9966 MB / 0.8473 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/0.7742, allocations: 0 / 0.8473 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.586e-05/0.7743, allocations: 28.22 kB / 0.8473 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.661e-05/0.7744, allocations: 73.95 kB / 0.8474 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00151/0.7759, allocations: 1.011 MB / 0.8484 GB, free: 9.043 MB / 0.6075 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.005728/0.7816, allocations: 3.57 MB / 0.8519 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.7827, allocations: 0.6691 MB / 0.8525 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004854/0.7832, allocations: 379 kB / 0.8529 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002404/0.7834, allocations: 194.8 kB / 0.8531 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.7835, allocations: 43.5 kB / 0.8531 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=62): time 2.284e-06/0.7835, allocations: 0 / 0.8531 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of matching and sorting (n=62): time 0.001833/0.7853, allocations: 1.017 MB / 0.8541 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.62e-05/0.7854, allocations: 119.4 kB / 0.8542 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009046/0.7863, allocations: 0.8019 MB / 0.855 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.303e-05/0.7864, allocations: 37.7 kB / 0.855 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002845/0.7867, allocations: 430.4 kB / 0.8555 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001769/0.7869, allocations: 221.9 kB / 0.8557 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002308/0.7871, allocations: 138.6 kB / 0.8558 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.7872, allocations: 334 kB / 0.8561 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000498/0.7877, allocations: 344.7 kB / 0.8565 GB, free: 496 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005918/0.7883, allocations: 464.7 kB / 0.8569 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/0.7894, allocations: 0.7666 MB / 0.8576 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-06/0.7894, allocations: 0 / 0.8576 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0014/0.7908, allocations: 0.9334 MB / 0.8586 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.7908, allocations: 4 kB / 0.8586 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.7908, allocations: 4 kB / 0.8586 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.7908, allocations: 4 kB / 0.8586 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006722/0.7915, allocations: 152 kB / 0.8587 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.399e-05/0.7915, allocations: 12 kB / 0.8587 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007409/0.7923, allocations: 79.11 kB / 0.8588 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.481e-05/0.7924, allocations: 34.25 kB / 0.8588 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007656/0.7931, allocations: 0.5331 MB / 0.8594 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005856/0.7937, allocations: 455.2 kB / 0.8598 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000996/0.7947, allocations: 0.7369 MB / 0.8605 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.779e-06/0.7948, allocations: 4 kB / 0.8605 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001296/0.7961, allocations: 0.9021 MB / 0.8614 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.7961, allocations: 4 kB / 0.8614 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.7961, allocations: 4 kB / 0.8614 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.444e-06/0.7961, allocations: 8 kB / 0.8614 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006125/0.7967, allocations: 147.8 kB / 0.8615 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.7967, allocations: 4 kB / 0.8615 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007133/0.7975, allocations: 64.31 kB / 0.8616 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.494e-05/0.7975, allocations: 24 kB / 0.8616 GB, free: 11.01 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (88): * Single equations (assignments): 88 * 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 0.0002256/0.7977, allocations: 228.2 kB / 0.8619 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/0.7979, allocations: 94.86 kB / 0.8619 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001275/0.7992, allocations: 0.8031 MB / 0.8627 GB, free: 9.879 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.7992, allocations: 8 kB / 0.8627 GB, free: 9.871 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.7992, allocations: 0 / 0.8627 GB, free: 9.871 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009355/0.8001, allocations: 0.7399 MB / 0.8635 GB, free: 9.098 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002884/0.803, allocations: 2.098 MB / 0.8655 GB, free: 6.914 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.8031, allocations: 3.938 kB / 0.8655 GB, free: 6.91 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006079/0.8037, allocations: 131.8 kB / 0.8656 GB, free: 6.781 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.047e-06/0.8037, allocations: 8 kB / 0.8656 GB, free: 6.773 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.648e-05/0.8037, allocations: 16 kB / 0.8657 GB, free: 6.758 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.414e-06/0.8038, allocations: 4.125 kB / 0.8657 GB, free: 6.754 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/0.8038, allocations: 15.92 kB / 0.8657 GB, free: 6.738 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001726/0.8055, allocations: 1.364 MB / 0.867 GB, free: 5.32 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004458/0.806, allocations: 251.8 kB / 0.8672 GB, free: 5.055 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.8061, allocations: 16 kB / 0.8673 GB, free: 5.039 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005145/0.8066, allocations: 23.98 kB / 0.8673 GB, free: 5.016 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.239e-05/0.8067, allocations: 48.27 kB / 0.8673 GB, free: 4.965 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.738e-05/0.8067, allocations: 27.98 kB / 0.8674 GB, free: 4.938 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00065/0.8074, allocations: 0.5576 MB / 0.8679 GB, free: 4.387 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8074, allocations: 0 / 0.8679 GB, free: 4.387 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001673/0.8091, allocations: 0.7411 MB / 0.8686 GB, free: 3.645 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m) * 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 (64): * Single equations (assignments): 64 * 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.003013/0.8121, allocations: 2.36 MB / 0.8709 GB, free: 1.254 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001866/0.814, allocations: 1.186 MB / 0.8721 GB, free: 68 kB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.814, allocations: 4 kB / 0.8721 GB, free: 64 kB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000485/0.8145, allocations: 362.8 kB / 0.8724 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002344/0.8168, allocations: 0.5384 MB / 0.873 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009743/0.8266, allocations: 7.867 MB / 0.8806 GB, free: 7.051 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005963/0.8272, allocations: 1.081 MB / 0.8817 GB, free: 5.938 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001288/0.8285, allocations: 421.1 kB / 0.8821 GB, free: 5.527 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004947/0.829, allocations: 331.3 kB / 0.8824 GB, free: 5.203 MB / 0.6387 GB Notification: Performance of SimCode: time 9.42e-07/0.829, allocations: 0 / 0.8824 GB, free: 5.203 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06231/0.8913, allocations: 31.83 MB / 0.9135 GB, free: 5.688 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/11.45, allocations: 10.56 kB / 0.9135 GB, free: 5.68 MB / 0.67 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeInitialization_fmu --startTime=0 --stopTime=0.001 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1)