Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="IDEAS_IDEAS_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.005123/0.005123, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001306/0.001307, allocations: 202.5 kB / 16.68 MB, free: 5.969 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7719/0.7719, allocations: 132.2 MB / 422.7 MB, free: 1.734 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001802/0.001802, allocations: 67.66 kB / 0.5809 GB, free: 1.137 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1535, allocations: 80.2 MB / 0.6592 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.5345/0.6881, allocations: 190.3 MB / 0.845 GB, free: 3.113 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.007982/0.6961, allocations: 5.667 MB / 0.8506 GB, free: 3.027 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001461/0.6976, allocations: 39.91 kB / 0.8506 GB, free: 3.027 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001318/0.6989, allocations: 0.5664 MB / 0.8512 GB, free: 3.02 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003268/0.7022, allocations: 1.605 MB / 0.8527 GB, free: 2.949 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002554/0.7048, allocations: 1.206 MB / 0.8539 GB, free: 2.914 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00238/0.7072, allocations: 2.502 MB / 0.8564 GB, free: 2.91 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001025/0.7082, allocations: 0.9997 MB / 0.8573 GB, free: 2.809 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001419/0.7096, allocations: 1.026 MB / 0.8583 GB, free: 2.805 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001341/0.711, allocations: 0.8175 MB / 0.8591 GB, free: 2.801 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001569/0.7111, allocations: 101.7 kB / 0.8592 GB, free: 2.801 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002401/0.7136, allocations: 1.526 MB / 0.8607 GB, free: 2.785 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003973/0.714, allocations: 492.9 kB / 0.8612 GB, free: 2.781 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.000551/0.7145, allocations: 0.6291 MB / 0.8618 GB, free: 2.621 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002452/0.717, allocations: 2.117 MB / 0.8639 GB, free: 2.363 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.717, allocations: 0 / 0.8639 GB, free: 2.363 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.523e-06/0.717, allocations: 0.9375 kB / 0.8639 GB, free: 2.363 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.601e-05/0.717, allocations: 0 / 0.8639 GB, free: 2.363 MB / 0.6387 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.001865/0.7189, allocations: 1.513 MB / 0.8654 GB, free: 1.539 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.7189, allocations: 10.78 kB / 0.8654 GB, free: 1.539 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001378/0.7191, allocations: 142.9 kB / 0.8655 GB, free: 1.496 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001759/0.7208, allocations: 332.8 kB / 0.8658 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009752/0.7218, allocations: 0.8212 MB / 0.8666 GB, free: 1.102 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.243e-05/0.7219, allocations: 68.38 kB / 0.8667 GB, free: 1.102 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.953e-05/0.722, allocations: 83.84 kB / 0.8668 GB, free: 1.102 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/0.7234, allocations: 1.071 MB / 0.8678 GB, free: 0.9531 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/0.7234, allocations: 2.125 kB / 0.8678 GB, free: 0.9531 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.968e-05/0.7235, allocations: 39.56 kB / 0.8679 GB, free: 0.9531 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-05/0.7235, allocations: 37.75 kB / 0.8679 GB, free: 0.9492 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001231/0.7248, allocations: 0.8264 MB / 0.8687 GB, free: 0.9375 MB / 0.6387 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.004331/0.7291, allocations: 4.267 MB / 0.8729 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004607/0.7296, allocations: 383.2 kB / 0.8732 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002709/0.7299, allocations: 214.9 kB / 0.8734 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001704/0.7301, allocations: 100.1 kB / 0.8735 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.999e-05/0.7301, allocations: 44.05 kB / 0.8736 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=36): time 1.933e-06/0.7301, allocations: 0.8438 kB / 0.8736 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of matching and sorting (n=38): time 0.002187/0.7323, allocations: 1.35 MB / 0.8749 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.7324, allocations: 61.72 kB / 0.8749 GB, free: 14 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.7335, allocations: 0.996 MB / 0.8759 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.557e-05/0.7335, allocations: 35.55 kB / 0.876 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003188/0.7338, allocations: 0.5018 MB / 0.8764 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000127/0.734, allocations: 144.8 kB / 0.8766 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001732/0.7342, allocations: 130.8 kB / 0.8767 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.7343, allocations: 333.9 kB / 0.877 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003918/0.7347, allocations: 228.4 kB / 0.8772 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005411/0.7353, allocations: 435.1 kB / 0.8777 GB, free: 12.96 MB / 0.6544 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.002122/0.7374, allocations: 1.209 MB / 0.8788 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.7374, allocations: 2.562 kB / 0.8788 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001199/0.7386, allocations: 0.777 MB / 0.8796 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.7386, allocations: 6.844 kB / 0.8796 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.7386, allocations: 6.5 kB / 0.8796 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.7387, allocations: 11.56 kB / 0.8796 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000506/0.7392, allocations: 143.5 kB / 0.8798 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.7392, allocations: 8.438 kB / 0.8798 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008033/0.74, allocations: 55.88 kB / 0.8798 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.135e-05/0.7401, allocations: 31.38 kB / 0.8799 GB, free: 12.56 MB / 0.6544 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.0004125/0.7405, allocations: 319 kB / 0.8802 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/0.7406, allocations: 102.7 kB / 0.8803 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001721/0.7408, allocations: 106.9 kB / 0.8804 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.7408, allocations: 4.875 kB / 0.8804 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.7408, allocations: 0 / 0.8804 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006666/0.7415, allocations: 0.6804 MB / 0.881 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002099/0.7436, allocations: 1.579 MB / 0.8826 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.7436, allocations: 4.312 kB / 0.8826 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003548/0.744, allocations: 90.39 kB / 0.8827 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.744, allocations: 6.844 kB / 0.8827 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.989e-05/0.744, allocations: 13.94 kB / 0.8827 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.7441, allocations: 10.06 kB / 0.8827 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.7441, allocations: 4.5 kB / 0.8827 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009852/0.7451, allocations: 0.858 MB / 0.8835 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003205/0.7454, allocations: 241.9 kB / 0.8838 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/0.7455, allocations: 20.56 kB / 0.8838 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006201/0.7461, allocations: 39.69 kB / 0.8838 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.743e-05/0.7462, allocations: 34.38 kB / 0.8839 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-05/0.7463, allocations: 27.84 kB / 0.8839 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009742/0.7472, allocations: 0.7106 MB / 0.8846 GB, free: 9.926 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7473, allocations: 0 / 0.8846 GB, free: 9.926 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008545/0.7481, allocations: 258.7 kB / 0.8848 GB, free: 9.902 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],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.00179/0.7499, allocations: 1.493 MB / 0.8863 GB, free: 8.828 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009335/0.7509, allocations: 0.5042 MB / 0.8868 GB, free: 8.688 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.7509, allocations: 3.938 kB / 0.8868 GB, free: 8.684 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002458/0.7511, allocations: 192.4 kB / 0.887 GB, free: 8.637 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002599/0.7537, allocations: 0.6179 MB / 0.8876 GB, free: 8.461 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009755/0.7635, allocations: 7.619 MB / 0.895 GB, free: 4.426 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007573/0.7643, allocations: 1.099 MB / 0.8961 GB, free: 3.672 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009207/0.7652, allocations: 252.1 kB / 0.8963 GB, free: 3.613 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004732/0.7657, allocations: 340.8 kB / 0.8966 GB, free: 3.367 MB / 0.6544 GB Notification: Performance of SimCode: time 1.012e-06/0.7657, allocations: 1.312 kB / 0.8966 GB, free: 3.367 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05845/0.8242, allocations: 27.84 MB / 0.9238 GB, free: 10.35 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.451/10.28, allocations: 6.469 kB / 0.9238 GB, free: 10.35 MB / 0.6856 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)