Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",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.001706/0.001706, allocations: 103.5 kB / 16.4 MB, free: 6.457 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.001882/0.001882, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.792/0.792, allocations: 126.7 MB / 417.9 MB, free: 12.31 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 72.98 kB / 0.5735 GB, free: 26.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1345, allocations: 78.86 MB / 0.6506 GB, free: 3.578 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.5079/0.6424, allocations: 190.4 MB / 0.8365 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008955/0.6514, allocations: 5.692 MB / 0.842 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001131/0.6526, allocations: 45.66 kB / 0.8421 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001465/0.6541, allocations: 0.5654 MB / 0.8426 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003813/0.6579, allocations: 1.612 MB / 0.8442 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00304/0.661, allocations: 1.196 MB / 0.8454 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002833/0.6638, allocations: 2.508 MB / 0.8478 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001144/0.6649, allocations: 0.9965 MB / 0.8488 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00187/0.6668, allocations: 1.18 MB / 0.85 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001525/0.6684, allocations: 0.8198 MB / 0.8508 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001675/0.6685, allocations: 99.94 kB / 0.8509 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003398/0.6719, allocations: 1.513 MB / 0.8523 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006566/0.6726, allocations: 491.6 kB / 0.8528 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007819/0.6734, allocations: 0.6201 MB / 0.8534 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003322/0.6767, allocations: 2.126 MB / 0.8555 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.6768, allocations: 0 / 0.8555 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6768, allocations: 0 / 0.8555 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.393e-05/0.6768, allocations: 0 / 0.8555 GB, free: 1.332 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002322/0.6791, allocations: 1.507 MB / 0.857 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.6792, allocations: 12.03 kB / 0.857 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002216/0.6794, allocations: 143.2 kB / 0.8571 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0019/0.6813, allocations: 334.9 kB / 0.8574 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001302/0.6826, allocations: 0.8161 MB / 0.8582 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.142e-05/0.6827, allocations: 66 kB / 0.8583 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.6828, allocations: 83.94 kB / 0.8584 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00177/0.6846, allocations: 1.071 MB / 0.8594 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/0.6846, allocations: 3.938 kB / 0.8594 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-05/0.6847, allocations: 36 kB / 0.8594 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.594e-05/0.6848, allocations: 41.98 kB / 0.8595 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001534/0.6863, allocations: 0.8275 MB / 0.8603 GB, free: 12.45 MB / 0.6231 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.005724/0.692, allocations: 4.426 MB / 0.8646 GB, free: 7.723 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006317/0.6927, allocations: 365.2 kB / 0.865 GB, free: 7.359 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003199/0.693, allocations: 218.6 kB / 0.8652 GB, free: 7.145 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001884/0.6932, allocations: 101.1 kB / 0.8653 GB, free: 7.027 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.6933, allocations: 46.55 kB / 0.8653 GB, free: 6.973 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=36): time 2.054e-06/0.6933, allocations: 0 / 0.8653 GB, free: 6.973 MB / 0.6231 GB Notification: Performance of matching and sorting (n=38): time 0.00258/0.6959, allocations: 1.347 MB / 0.8666 GB, free: 5.57 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.838e-05/0.6959, allocations: 59.34 kB / 0.8667 GB, free: 5.5 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001383/0.6973, allocations: 0.9966 MB / 0.8677 GB, free: 4.48 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.646e-05/0.6974, allocations: 37.7 kB / 0.8677 GB, free: 4.438 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004002/0.6978, allocations: 0.4963 MB / 0.8682 GB, free: 3.938 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001369/0.6979, allocations: 150.7 kB / 0.8683 GB, free: 3.789 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002121/0.6982, allocations: 126.2 kB / 0.8684 GB, free: 3.656 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.6983, allocations: 326 kB / 0.8688 GB, free: 3.332 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004767/0.6988, allocations: 237.2 kB / 0.869 GB, free: 3.102 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006255/0.6994, allocations: 423.8 kB / 0.8694 GB, free: 2.609 MB / 0.6231 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002524/0.702, allocations: 1.225 MB / 0.8706 GB, free: 1.289 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.702, allocations: 1 kB / 0.8706 GB, free: 1.289 MB / 0.6231 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001396/0.7034, allocations: 0.7781 MB / 0.8713 GB, free: 0.5039 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.7034, allocations: 11.94 kB / 0.8713 GB, free: 0.4922 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/0.7034, allocations: 8 kB / 0.8714 GB, free: 496 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.7034, allocations: 8 kB / 0.8714 GB, free: 488 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005625/0.704, allocations: 143.7 kB / 0.8715 GB, free: 344 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.696e-05/0.704, allocations: 13.56 kB / 0.8715 GB, free: 332 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000833/0.7049, allocations: 56.02 kB / 0.8716 GB, free: 276 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.667e-05/0.7049, allocations: 24.88 kB / 0.8716 GB, free: 252 kB / 0.6231 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (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.0004385/0.7054, allocations: 317.5 kB / 0.8719 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001564/0.7056, allocations: 107.3 kB / 0.872 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001845/0.7057, allocations: 109 kB / 0.8721 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.7058, allocations: 11.92 kB / 0.8721 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.7058, allocations: 0 / 0.8721 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007354/0.7065, allocations: 0.6711 MB / 0.8728 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002326/0.7088, allocations: 1.583 MB / 0.8743 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.7089, allocations: 8 kB / 0.8743 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003789/0.7093, allocations: 83.89 kB / 0.8744 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/0.7093, allocations: 4 kB / 0.8744 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.272e-05/0.7093, allocations: 19.94 kB / 0.8744 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.756e-06/0.7093, allocations: 11.92 kB / 0.8744 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.7093, allocations: 4 kB / 0.8744 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.7104, allocations: 0.8265 MB / 0.8752 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003439/0.7108, allocations: 248.3 kB / 0.8755 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.7109, allocations: 12 kB / 0.8755 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006361/0.7115, allocations: 45.03 kB / 0.8755 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.224e-05/0.7116, allocations: 31.89 kB / 0.8756 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.512e-05/0.7117, allocations: 27.98 kB / 0.8756 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001013/0.7127, allocations: 0.7077 MB / 0.8763 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.91e-07/0.7127, allocations: 0 / 0.8763 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000787/0.7135, allocations: 259.9 kB / 0.8765 GB, free: 10.89 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (38): * Single equations (assignments): 38 * 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.001726/0.7152, allocations: 1.471 MB / 0.878 GB, free: 9.344 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0009366/0.7162, allocations: 0.5084 MB / 0.8785 GB, free: 8.836 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.7162, allocations: 0 / 0.8785 GB, free: 8.836 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002795/0.7165, allocations: 197.4 kB / 0.8787 GB, free: 8.645 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002627/0.7191, allocations: 0.6109 MB / 0.8793 GB, free: 8.047 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01042/0.7295, allocations: 7.646 MB / 0.8867 GB, free: 28 kB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007699/0.7303, allocations: 1.095 MB / 0.8878 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008094/0.7312, allocations: 252.3 kB / 0.888 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004677/0.7316, allocations: 343.3 kB / 0.8884 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of SimCode: time 5.41e-07/0.7316, allocations: 0 / 0.8884 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05948/0.7911, allocations: 27.78 MB / 0.9155 GB, free: 2.898 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.205/9.996, allocations: 3.25 kB / 0.9155 GB, free: 2.898 MB / 0.67 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)