Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",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.001217/0.001217, allocations: 107.1 kB / 15.98 MB, free: 5.875 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.001148/0.001148, allocations: 197.6 kB / 16.91 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.266/1.266, allocations: 222.9 MB / 240.6 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.637/0.637, allocations: 115.3 MB / 406.1 MB, free: 2.719 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 60.34 kB / 493.2 MB, free: 6.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1291, allocations: 76.2 MB / 0.556 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.4131/0.5422, allocations: 188 MB / 0.7396 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008307/0.5505, allocations: 5.668 MB / 0.7451 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001485/0.5521, allocations: 39.75 kB / 0.7452 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001626/0.5537, allocations: 0.5092 MB / 0.7457 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004216/0.558, allocations: 1.723 MB / 0.7474 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002613/0.5606, allocations: 1.09 MB / 0.7484 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003213/0.5638, allocations: 2.948 MB / 0.7513 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001368/0.5652, allocations: 1.097 MB / 0.7524 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001692/0.5669, allocations: 1.058 MB / 0.7534 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001915/0.5688, allocations: 1.025 MB / 0.7544 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002398/0.5691, allocations: 124 kB / 0.7545 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002388/0.5715, allocations: 1.527 MB / 0.756 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005726/0.5721, allocations: 0.5766 MB / 0.7566 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008701/0.5729, allocations: 0.7234 MB / 0.7573 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002663/0.5756, allocations: 2.415 MB / 0.7596 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.5756, allocations: 0 / 0.7596 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.002e-06/0.5756, allocations: 0 / 0.7596 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.927e-05/0.5757, allocations: 0 / 0.7596 GB, free: 6.188 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002606/0.5783, allocations: 1.621 MB / 0.7612 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.5783, allocations: 12.03 kB / 0.7612 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001949/0.5785, allocations: 160.2 kB / 0.7614 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001999/0.5805, allocations: 326.2 kB / 0.7617 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001257/0.5818, allocations: 0.8745 MB / 0.7625 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.175e-05/0.5819, allocations: 70 kB / 0.7626 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001312/0.582, allocations: 96 kB / 0.7627 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001738/0.5838, allocations: 1.096 MB / 0.7638 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.598e-05/0.5838, allocations: 3.984 kB / 0.7638 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-05/0.5839, allocations: 48 kB / 0.7638 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-05/0.5839, allocations: 34 kB / 0.7639 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001544/0.5855, allocations: 0.9954 MB / 0.7648 GB, free: 0.7539 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.005449/0.5909, allocations: 4.237 MB / 0.769 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008286/0.5918, allocations: 0.5904 MB / 0.7695 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004699/0.5923, allocations: 342.5 kB / 0.7699 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001767/0.5925, allocations: 105.5 kB / 0.77 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.5925, allocations: 46.94 kB / 0.77 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 1.713e-06/0.5925, allocations: 0 / 0.77 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55): time 0.003732/0.5962, allocations: 2.201 MB / 0.7722 GB, free: 8.797 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.5963, allocations: 59.91 kB / 0.7722 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009704/0.5973, allocations: 0.8843 MB / 0.7731 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.237e-05/0.5973, allocations: 37.7 kB / 0.7731 GB, free: 7.793 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000329/0.5977, allocations: 0.5145 MB / 0.7736 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001589/0.5978, allocations: 189.3 kB / 0.7738 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001922/0.598, allocations: 138.5 kB / 0.7739 GB, free: 6.941 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.803e-05/0.5981, allocations: 326 kB / 0.7743 GB, free: 6.617 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004566/0.5986, allocations: 289.8 kB / 0.7745 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005331/0.5991, allocations: 439.2 kB / 0.7749 GB, free: 5.855 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003762/0.6029, allocations: 1.753 MB / 0.7767 GB, free: 4.031 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.6029, allocations: 0 / 0.7767 GB, free: 4.031 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001421/0.6044, allocations: 0.9237 MB / 0.7776 GB, free: 3.098 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.6044, allocations: 8 kB / 0.7776 GB, free: 3.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.6044, allocations: 4 kB / 0.7776 GB, free: 3.086 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002549/0.6047, allocations: 98.45 kB / 0.7777 GB, free: 2.98 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007089/0.6054, allocations: 163.8 kB / 0.7778 GB, free: 2.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003365/0.6088, allocations: 4.64 MB / 0.7824 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/0.6098, allocations: 63.89 kB / 0.7824 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.171e-05/0.6099, allocations: 28 kB / 0.7824 GB, free: 13.67 MB / 0.6075 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: 17 * 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005431/0.6104, allocations: 357.4 kB / 0.7828 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002081/0.6107, allocations: 106.8 kB / 0.7829 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002099/0.6109, allocations: 109.2 kB / 0.783 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.6109, allocations: 4 kB / 0.783 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.6109, allocations: 0 / 0.783 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009921/0.6119, allocations: 0.7653 MB / 0.7837 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003033/0.6149, allocations: 1.991 MB / 0.7857 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.615, allocations: 3.938 kB / 0.7857 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006568/0.6156, allocations: 152.2 kB / 0.7858 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.667e-05/0.6157, allocations: 36.83 kB / 0.7859 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.185e-05/0.6158, allocations: 16 kB / 0.7859 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001103/0.6169, allocations: 1.61 MB / 0.7875 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.6169, allocations: 4 kB / 0.7875 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001568/0.6185, allocations: 1.207 MB / 0.7886 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003968/0.6189, allocations: 255.8 kB / 0.7889 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001354/0.619, allocations: 19.94 kB / 0.7889 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007941/0.6198, allocations: 68.39 kB / 0.789 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.6199, allocations: 47.89 kB / 0.789 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.306e-05/0.62, allocations: 31.98 kB / 0.789 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007169/0.6207, allocations: 0.6122 MB / 0.7896 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6207, allocations: 0 / 0.7896 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008697/0.6216, allocations: 308 kB / 0.7899 GB, free: 5.609 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002186/0.6238, allocations: 1.842 MB / 0.7917 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001582/0.6254, allocations: 1.105 MB / 0.7928 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.6254, allocations: 0 / 0.7928 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005862/0.626, allocations: 459.8 kB / 0.7932 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002563/0.6286, allocations: 0.6494 MB / 0.7939 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0111/0.6397, allocations: 8.671 MB / 0.8024 GB, free: 8.414 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007893/0.6405, allocations: 1.173 MB / 0.8035 GB, free: 7.215 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009891/0.6415, allocations: 244.4 kB / 0.8037 GB, free: 6.973 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004863/0.642, allocations: 387.3 kB / 0.8041 GB, free: 6.594 MB / 0.6231 GB Notification: Performance of SimCode: time 4.31e-07/0.642, allocations: 3.938 kB / 0.8041 GB, free: 6.59 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2609/0.9029, allocations: 29.96 MB / 0.8334 GB, free: 233.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001629/0.9031, allocations: 301.8 kB / 0.8337 GB, free: 233.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.402/3.305, allocations: 5.375 kB / 0.8337 GB, free: 233.5 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)