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.001055/0.001055, allocations: 107.5 kB / 16.41 MB, free: 6.445 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.001003/0.001003, allocations: 189.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.264/1.264, 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.763/0.763, allocations: 126.1 MB / 417.3 MB, free: 12.81 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 73.59 kB / 0.5726 GB, free: 27.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1271, allocations: 78.7 MB / 0.6494 GB, free: 4.602 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.4836/0.6107, allocations: 190.3 MB / 0.8353 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008461/0.6192, allocations: 5.684 MB / 0.8409 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001307/0.6206, allocations: 41.28 kB / 0.8409 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001522/0.6221, allocations: 0.5841 MB / 0.8415 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003786/0.6259, allocations: 1.676 MB / 0.8431 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002804/0.6288, allocations: 1.219 MB / 0.8443 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002814/0.6316, allocations: 2.512 MB / 0.8468 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001278/0.6329, allocations: 0.9849 MB / 0.8477 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001774/0.6347, allocations: 1.076 MB / 0.8488 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00173/0.6364, allocations: 0.807 MB / 0.8496 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002226/0.6366, allocations: 100.4 kB / 0.8497 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002588/0.6392, allocations: 1.535 MB / 0.8512 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005492/0.6398, allocations: 499.5 kB / 0.8516 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008969/0.6407, allocations: 0.6162 MB / 0.8522 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002877/0.6436, allocations: 2.114 MB / 0.8543 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.6436, allocations: 0 / 0.8543 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.744e-06/0.6436, allocations: 4 kB / 0.8543 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.921e-05/0.6437, allocations: 0 / 0.8543 GB, free: 2.602 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.002609/0.6463, allocations: 1.521 MB / 0.8558 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.6463, allocations: 8.031 kB / 0.8558 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001882/0.6465, allocations: 139.2 kB / 0.8559 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001968/0.6485, allocations: 338.9 kB / 0.8562 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001317/0.6498, allocations: 0.8085 MB / 0.857 GB, free: 16 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.261e-05/0.6499, allocations: 66.08 kB / 0.8571 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/0.65, allocations: 95.83 kB / 0.8572 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001683/0.6517, allocations: 1.07 MB / 0.8582 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/0.6518, allocations: 0 / 0.8582 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.358e-05/0.6519, allocations: 40 kB / 0.8583 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.854e-05/0.6519, allocations: 34 kB / 0.8583 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0015/0.6534, allocations: 0.8275 MB / 0.8591 GB, free: 13.84 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.005226/0.6587, allocations: 4.271 MB / 0.8633 GB, free: 9.305 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005817/0.6592, allocations: 372.3 kB / 0.8636 GB, free: 8.934 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002917/0.6595, allocations: 212 kB / 0.8638 GB, free: 8.727 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001703/0.6597, allocations: 109 kB / 0.8639 GB, free: 8.602 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.6598, allocations: 38.56 kB / 0.864 GB, free: 8.555 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=36): time 1.562e-06/0.6598, allocations: 4 kB / 0.864 GB, free: 8.551 MB / 0.6231 GB Notification: Performance of matching and sorting (n=38): time 0.002408/0.6622, allocations: 1.346 MB / 0.8653 GB, free: 7.152 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/0.6622, allocations: 55.41 kB / 0.8654 GB, free: 7.086 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001287/0.6635, allocations: 1.001 MB / 0.8663 GB, free: 6.062 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.28e-05/0.6636, allocations: 37.7 kB / 0.8664 GB, free: 6.02 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003543/0.664, allocations: 0.4963 MB / 0.8669 GB, free: 5.52 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/0.6641, allocations: 150.7 kB / 0.867 GB, free: 5.371 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001903/0.6643, allocations: 126.2 kB / 0.8671 GB, free: 5.242 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.6644, allocations: 330 kB / 0.8674 GB, free: 4.914 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004602/0.6649, allocations: 237.2 kB / 0.8677 GB, free: 4.684 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005782/0.6654, allocations: 424.7 kB / 0.8681 GB, free: 4.191 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.002399/0.6679, allocations: 1.224 MB / 0.8693 GB, free: 2.875 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.6679, allocations: 0 / 0.8693 GB, free: 2.875 MB / 0.6231 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001357/0.6692, allocations: 0.7838 MB / 0.87 GB, free: 2.086 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.6693, allocations: 11.94 kB / 0.87 GB, free: 2.074 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.6693, allocations: 4 kB / 0.87 GB, free: 2.07 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.6693, allocations: 8 kB / 0.87 GB, free: 2.062 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000562/0.6699, allocations: 144.2 kB / 0.8702 GB, free: 1.922 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.707e-05/0.6699, allocations: 15.92 kB / 0.8702 GB, free: 1.906 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008355/0.6707, allocations: 52.83 kB / 0.8703 GB, free: 1.855 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-05/0.6708, allocations: 28 kB / 0.8703 GB, free: 1.828 MB / 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.0003708/0.6712, allocations: 317.5 kB / 0.8706 GB, free: 1.508 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001572/0.6713, allocations: 111.3 kB / 0.8707 GB, free: 1.398 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001731/0.6715, allocations: 101 kB / 0.8708 GB, free: 1.297 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.6715, allocations: 4 kB / 0.8708 GB, free: 1.293 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.6715, allocations: 0 / 0.8708 GB, free: 1.293 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006481/0.6722, allocations: 0.6827 MB / 0.8715 GB, free: 0.5234 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002206/0.6744, allocations: 1.577 MB / 0.873 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.6744, allocations: 7.984 kB / 0.873 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003869/0.6748, allocations: 91.83 kB / 0.8731 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.263e-06/0.6748, allocations: 4 kB / 0.8731 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.149e-05/0.6749, allocations: 16.44 kB / 0.8731 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.076e-05/0.6749, allocations: 8 kB / 0.8731 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/0.6749, allocations: 11.94 kB / 0.8731 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009852/0.6759, allocations: 0.8313 MB / 0.8739 GB, free: 13.81 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003474/0.6763, allocations: 244.3 kB / 0.8742 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001325/0.6764, allocations: 12 kB / 0.8742 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006545/0.6771, allocations: 35.97 kB / 0.8742 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.803e-05/0.6771, allocations: 39.84 kB / 0.8743 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.204e-05/0.6772, allocations: 27.92 kB / 0.8743 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0009558/0.6781, allocations: 0.7077 MB / 0.875 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2e-07/0.6782, allocations: 0 / 0.875 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007535/0.6789, allocations: 263.9 kB / 0.8752 GB, free: 12.46 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.001554/0.6805, allocations: 1.479 MB / 0.8767 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0008859/0.6814, allocations: 0.504 MB / 0.8772 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.6814, allocations: 0 / 0.8772 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00026/0.6817, allocations: 187.7 kB / 0.8773 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002576/0.6842, allocations: 0.6101 MB / 0.8779 GB, free: 9.625 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009896/0.6941, allocations: 7.626 MB / 0.8854 GB, free: 1.621 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006492/0.6948, allocations: 1.099 MB / 0.8865 GB, free: 0.4922 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007584/0.6956, allocations: 248.3 kB / 0.8867 GB, free: 252 kB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004431/0.696, allocations: 339.4 kB / 0.887 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of SimCode: time 3.41e-07/0.696, allocations: 0 / 0.887 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0521/0.7482, allocations: 27.79 MB / 0.9142 GB, free: 4.488 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.956/9.704, allocations: 6.5 kB / 0.9142 GB, free: 4.484 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)