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: translateModel(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") translateModel(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 108.3 kB / 16.4 MB, free: 6.434 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.001262/0.001262, allocations: 193.1 kB / 17.34 MB, free: 5.719 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.366/1.366, 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.7345/0.7345, allocations: 115.3 MB / 406.5 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 63.22 kB / 0.5577 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1515, allocations: 76.2 MB / 0.6321 GB, free: 4.398 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.5762/0.7278, allocations: 187.8 MB / 0.8155 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01778/0.7456, allocations: 10.77 MB / 0.826 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002805/0.7485, allocations: 38.38 kB / 0.8261 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001877/0.7505, allocations: 498.3 kB / 0.8265 GB, free: 7.172 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008618/0.7591, allocations: 2.585 MB / 0.8291 GB, free: 5.602 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.007293/0.7664, allocations: 2.46 MB / 0.8315 GB, free: 4.129 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003945/0.7704, allocations: 2.775 MB / 0.8342 GB, free: 2.66 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001201/0.7716, allocations: 0.7729 MB / 0.8349 GB, free: 2.176 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001785/0.7734, allocations: 1.026 MB / 0.8359 GB, free: 1.648 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001726/0.7752, allocations: 1.06 MB / 0.837 GB, free: 1.125 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001345/0.7753, allocations: 97.81 kB / 0.8371 GB, free: 1.125 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005232/0.7805, allocations: 3.008 MB / 0.84 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004206/0.781, allocations: 437.2 kB / 0.8404 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006101/0.7816, allocations: 0.5788 MB / 0.841 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004305/0.7859, allocations: 2.961 MB / 0.8439 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.7859, allocations: 2.469 kB / 0.8439 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.764e-06/0.7859, allocations: 0 / 0.8439 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.417e-05/0.786, allocations: 0 / 0.8439 GB, free: 13.38 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.003408/0.7894, allocations: 1.664 MB / 0.8455 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.7894, allocations: 10.78 kB / 0.8455 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001746/0.7912, allocations: 297.8 kB / 0.8458 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001357/0.7925, allocations: 0.8337 MB / 0.8466 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.445e-05/0.7926, allocations: 54.38 kB / 0.8467 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.7927, allocations: 65.03 kB / 0.8467 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001542/0.7943, allocations: 0.9941 MB / 0.8477 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.7943, allocations: 4 kB / 0.8477 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.659e-05/0.7944, allocations: 25.39 kB / 0.8477 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.372e-05/0.7945, allocations: 73.95 kB / 0.8478 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001597/0.7961, allocations: 1.015 MB / 0.8488 GB, free: 9.516 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.005858/0.802, allocations: 3.577 MB / 0.8523 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.803, allocations: 0.6622 MB / 0.8529 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005557/0.8036, allocations: 374.9 kB / 0.8533 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002846/0.8039, allocations: 197.1 kB / 0.8535 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.8039, allocations: 39.12 kB / 0.8535 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=62): time 3.166e-06/0.8039, allocations: 4 kB / 0.8535 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of matching and sorting (n=62): time 0.001827/0.8058, allocations: 1.021 MB / 0.8545 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.498e-05/0.8059, allocations: 119.3 kB / 0.8546 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008728/0.8067, allocations: 0.798 MB / 0.8554 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.661e-05/0.8068, allocations: 41.7 kB / 0.8554 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003382/0.8071, allocations: 420.1 kB / 0.8558 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001719/0.8073, allocations: 226 kB / 0.856 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000241/0.8076, allocations: 142.6 kB / 0.8562 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.8077, allocations: 334 kB / 0.8565 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005208/0.8082, allocations: 340.7 kB / 0.8568 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006057/0.8088, allocations: 464.7 kB / 0.8573 GB, free: 476 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/0.81, allocations: 0.7704 MB / 0.858 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.81, allocations: 3.938 kB / 0.858 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001433/0.8114, allocations: 0.9258 MB / 0.8589 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.8114, allocations: 12 kB / 0.8589 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.8115, allocations: 0 / 0.8589 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/0.8115, allocations: 8 kB / 0.8589 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006655/0.8122, allocations: 151.7 kB / 0.8591 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.8122, allocations: 4 kB / 0.8591 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007402/0.8129, allocations: 83.11 kB / 0.8592 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.607e-05/0.813, allocations: 31.98 kB / 0.8592 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007465/0.8138, allocations: 0.5408 MB / 0.8597 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005789/0.8143, allocations: 446.5 kB / 0.8602 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009976/0.8154, allocations: 0.7408 MB / 0.8609 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.083e-06/0.8154, allocations: 4 kB / 0.8609 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001344/0.8167, allocations: 0.8903 MB / 0.8618 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.368e-06/0.8167, allocations: 8 kB / 0.8618 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.8167, allocations: 4 kB / 0.8618 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.314e-06/0.8168, allocations: 4 kB / 0.8618 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006449/0.8174, allocations: 143.8 kB / 0.8619 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.643e-05/0.8174, allocations: 16.27 kB / 0.8619 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006749/0.8181, allocations: 59.52 kB / 0.862 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.812e-05/0.8182, allocations: 28 kB / 0.862 GB, free: 11.48 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.0001863/0.8184, allocations: 223.6 kB / 0.8622 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/0.8185, allocations: 98.81 kB / 0.8623 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001306/0.8198, allocations: 0.7969 MB / 0.8631 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.8199, allocations: 4 kB / 0.8631 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.8199, allocations: 4.125 kB / 0.8631 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001006/0.8209, allocations: 0.7547 MB / 0.8638 GB, free: 9.562 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003048/0.8239, allocations: 2.083 MB / 0.8659 GB, free: 7.391 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.76e-06/0.824, allocations: 4 kB / 0.8659 GB, free: 7.387 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006274/0.8246, allocations: 136.2 kB / 0.866 GB, free: 7.254 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/0.8246, allocations: 8 kB / 0.866 GB, free: 7.246 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.137e-05/0.8247, allocations: 24 kB / 0.866 GB, free: 7.223 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.214e-06/0.8247, allocations: 7.984 kB / 0.866 GB, free: 7.215 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.8247, allocations: 4 kB / 0.866 GB, free: 7.211 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001767/0.8265, allocations: 1.352 MB / 0.8674 GB, free: 5.805 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003859/0.8269, allocations: 267.6 kB / 0.8676 GB, free: 5.523 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.827, allocations: 15.94 kB / 0.8676 GB, free: 5.508 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005706/0.8275, allocations: 23.98 kB / 0.8677 GB, free: 5.484 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.706e-05/0.8276, allocations: 48.31 kB / 0.8677 GB, free: 5.434 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-05/0.8277, allocations: 28 kB / 0.8677 GB, free: 5.406 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000654/0.8284, allocations: 0.5576 MB / 0.8683 GB, free: 4.855 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8284, allocations: 0 / 0.8683 GB, free: 4.855 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001728/0.8301, allocations: 0.7528 MB / 0.869 GB, free: 4.102 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.001134/0.8312, allocations: 0.5384 MB / 0.8695 GB, free: 3.602 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001907/0.8332, allocations: 1.182 MB / 0.8707 GB, free: 2.422 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.8332, allocations: 1.125 kB / 0.8707 GB, free: 2.422 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005274/0.8337, allocations: 378.4 kB / 0.8711 GB, free: 2.047 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002376/0.8361, allocations: 0.5317 MB / 0.8716 GB, free: 1.523 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002689/0.8388, allocations: 1.904 MB / 0.8734 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006631/0.8395, allocations: 1.077 MB / 0.8745 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001077/0.8406, allocations: 424.7 kB / 0.8749 GB, free: 14.03 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002263/0.8408, allocations: 75.42 kB / 0.875 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of SimCode: time 4.61e-07/0.8408, allocations: 4 kB / 0.875 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of Templates: time 0.03468/0.8755, allocations: 23.29 MB / 0.8977 GB, free: 6.898 MB / 0.6544 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1)