Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",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.00506/0.00506, allocations: 101.7 kB / 15.88 MB, free: 6.32 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.001307/0.001307, allocations: 198.3 kB / 16.79 MB, free: 6.246 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.274/1.274, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6267/0.6267, allocations: 115.3 MB / 405.9 MB, free: 2.766 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 80.05 kB / 493 MB, free: 6.688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1434, allocations: 76.17 MB / 0.5558 GB, free: 10.72 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.4455/0.5889, allocations: 185 MB / 0.7365 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01521/0.6042, allocations: 13.1 MB / 0.7493 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001187/0.6054, allocations: 31.81 kB / 0.7494 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00158/0.6071, allocations: 354 kB / 0.7497 GB, free: 276 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003033/0.6101, allocations: 1.089 MB / 0.7508 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001799/0.6119, allocations: 0.6369 MB / 0.7514 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003075/0.615, allocations: 2.772 MB / 0.7541 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001231/0.6163, allocations: 0.7309 MB / 0.7548 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003515/0.6198, allocations: 1.658 MB / 0.7564 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001714/0.6215, allocations: 0.6868 MB / 0.7571 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001876/0.6217, allocations: 44 kB / 0.7571 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002026/0.6237, allocations: 0.9781 MB / 0.7581 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004801/0.6242, allocations: 355 kB / 0.7584 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006957/0.6249, allocations: 473.5 kB / 0.7589 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001986/0.6269, allocations: 1.499 MB / 0.7603 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.627, allocations: 0 / 0.7603 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.744e-06/0.627, allocations: 0 / 0.7603 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.206e-05/0.627, allocations: 0 / 0.7603 GB, free: 5.328 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.002107/0.6291, allocations: 1.235 MB / 0.7616 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.6292, allocations: 12.03 kB / 0.7616 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000145/0.6293, allocations: 114.5 kB / 0.7617 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00122/0.6305, allocations: 222.6 kB / 0.7619 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009929/0.6316, allocations: 0.6441 MB / 0.7625 GB, free: 3 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.688e-05/0.6316, allocations: 58 kB / 0.7626 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.6317, allocations: 79.91 kB / 0.7626 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001272/0.633, allocations: 0.9327 MB / 0.7636 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.633, allocations: 0 / 0.7636 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.989e-05/0.6331, allocations: 35.94 kB / 0.7636 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.788e-05/0.6331, allocations: 33.3 kB / 0.7636 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009951/0.6342, allocations: 0.6215 MB / 0.7642 GB, free: 1.16 MB / 0.5762 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.004245/0.6384, allocations: 4.578 MB / 0.7687 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007257/0.6391, allocations: 0.5379 MB / 0.7692 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003189/0.6395, allocations: 253.9 kB / 0.7695 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001804/0.6397, allocations: 113 kB / 0.7696 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.6397, allocations: 39.25 kB / 0.7696 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 1.994e-06/0.6397, allocations: 4 kB / 0.7696 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45): time 0.002656/0.6424, allocations: 1.595 MB / 0.7712 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.831e-05/0.6425, allocations: 110.8 kB / 0.7713 GB, free: 9.488 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007953/0.6433, allocations: 0.7116 MB / 0.772 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.058e-05/0.6433, allocations: 37.7 kB / 0.772 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000301/0.6436, allocations: 419.7 kB / 0.7724 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/0.6437, allocations: 157.7 kB / 0.7726 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001566/0.6439, allocations: 118.2 kB / 0.7727 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.644, allocations: 326 kB / 0.773 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000277/0.6443, allocations: 193.2 kB / 0.7732 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004272/0.6448, allocations: 417 kB / 0.7736 GB, free: 7.016 MB / 0.5919 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002127/0.6469, allocations: 1.173 MB / 0.7747 GB, free: 5.738 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.6469, allocations: 4 kB / 0.7747 GB, free: 5.734 MB / 0.5919 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009298/0.6478, allocations: 0.6795 MB / 0.7754 GB, free: 5.047 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.6479, allocations: 12.03 kB / 0.7754 GB, free: 5.035 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.6479, allocations: 8 kB / 0.7754 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.6479, allocations: 12 kB / 0.7754 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004197/0.6483, allocations: 119.8 kB / 0.7755 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.538e-05/0.6484, allocations: 11.94 kB / 0.7755 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005528/0.6489, allocations: 60.59 kB / 0.7756 GB, free: 4.828 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.687e-05/0.649, allocations: 28 kB / 0.7756 GB, free: 4.801 MB / 0.5919 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0003036/0.6493, allocations: 273.5 kB / 0.7759 GB, free: 4.523 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/0.6494, allocations: 86.91 kB / 0.776 GB, free: 4.438 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001391/0.6496, allocations: 91.66 kB / 0.7761 GB, free: 4.344 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.6496, allocations: 4 kB / 0.7761 GB, free: 4.34 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.6496, allocations: 4 kB / 0.7761 GB, free: 4.336 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006706/0.6503, allocations: 0.6964 MB / 0.7767 GB, free: 3.555 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002108/0.6524, allocations: 1.639 MB / 0.7783 GB, free: 1.809 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.6524, allocations: 4 kB / 0.7783 GB, free: 1.805 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004133/0.6528, allocations: 95.92 kB / 0.7784 GB, free: 1.711 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.138e-05/0.6528, allocations: 11.94 kB / 0.7784 GB, free: 1.699 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.281e-05/0.6529, allocations: 19.94 kB / 0.7785 GB, free: 1.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.6529, allocations: 7.984 kB / 0.7785 GB, free: 1.672 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.6529, allocations: 4 kB / 0.7785 GB, free: 1.668 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009895/0.6539, allocations: 0.8692 MB / 0.7793 GB, free: 0.7383 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002609/0.6542, allocations: 216.1 kB / 0.7795 GB, free: 0.5078 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.692e-05/0.6543, allocations: 16 kB / 0.7795 GB, free: 0.4922 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004487/0.6547, allocations: 36.89 kB / 0.7796 GB, free: 468 kB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.476e-05/0.6548, allocations: 31.91 kB / 0.7796 GB, free: 436 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.149e-05/0.6548, allocations: 32.11 kB / 0.7796 GB, free: 404 kB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000567/0.6554, allocations: 0.5068 MB / 0.7801 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6554, allocations: 0 / 0.7801 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006168/0.656, allocations: 208 kB / 0.7803 GB, free: 15.69 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * 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.001495/0.6575, allocations: 1.491 MB / 0.7818 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006834/0.6582, allocations: 476.1 kB / 0.7822 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.6582, allocations: 5.562 kB / 0.7823 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002681/0.6585, allocations: 212.9 kB / 0.7825 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001846/0.6604, allocations: 451.8 kB / 0.7829 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008465/0.6688, allocations: 7.181 MB / 0.7899 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005682/0.6694, allocations: 1.036 MB / 0.7909 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006478/0.6701, allocations: 199 kB / 0.7911 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003776/0.6705, allocations: 299.3 kB / 0.7914 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.6705, allocations: 0 / 0.7914 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03579/0.7063, allocations: 21.31 MB / 0.8122 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002704/0.7066, allocations: 293.6 kB / 0.8125 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.092/2.799, allocations: 0 / 0.8125 GB, free: 14.59 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)