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.01029/0.01029, allocations: 102.6 kB / 15.73 MB, free: 6.492 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.002573/0.002574, allocations: 192 kB / 16.67 MB, free: 6.379 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.756/1.756, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.231/1.231, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 64.3 kB / 0.5809 GB, free: 1.117 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2339, allocations: 80.21 MB / 0.6592 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 1.009/1.243, allocations: 190.3 MB / 0.845 GB, free: 2.715 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01691/1.26, allocations: 5.673 MB / 0.8506 GB, free: 2.633 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003974/1.264, allocations: 40.84 kB / 0.8506 GB, free: 2.633 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003337/1.268, allocations: 0.5688 MB / 0.8512 GB, free: 2.625 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008239/1.276, allocations: 1.601 MB / 0.8527 GB, free: 2.555 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006187/1.282, allocations: 1.206 MB / 0.8539 GB, free: 2.52 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006545/1.289, allocations: 2.497 MB / 0.8564 GB, free: 2.516 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002799/1.292, allocations: 1.004 MB / 0.8573 GB, free: 2.41 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003967/1.296, allocations: 1.039 MB / 0.8584 GB, free: 2.406 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003359/1.299, allocations: 0.8198 MB / 0.8592 GB, free: 2.402 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0005224/1.3, allocations: 101.2 kB / 0.8593 GB, free: 2.402 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00643/1.306, allocations: 1.521 MB / 0.8607 GB, free: 2.391 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001345/1.307, allocations: 494 kB / 0.8612 GB, free: 2.387 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002163/1.31, allocations: 0.6212 MB / 0.8618 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006493/1.316, allocations: 2.12 MB / 0.8639 GB, free: 1.969 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/1.316, allocations: 0.875 kB / 0.8639 GB, free: 1.969 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.735e-06/1.316, allocations: 0 / 0.8639 GB, free: 1.969 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.606e-05/1.316, allocations: 1.031 kB / 0.8639 GB, free: 1.969 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.005517/1.322, allocations: 1.476 MB / 0.8653 GB, free: 1.184 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 6.574e-05/1.322, allocations: 11.38 kB / 0.8653 GB, free: 1.184 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004316/1.322, allocations: 134.7 kB / 0.8655 GB, free: 1.145 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003968/1.326, allocations: 332.6 kB / 0.8658 GB, free: 1.082 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002716/1.329, allocations: 0.8114 MB / 0.8666 GB, free: 0.7578 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/1.329, allocations: 64.94 kB / 0.8666 GB, free: 0.7578 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002906/1.33, allocations: 90.92 kB / 0.8667 GB, free: 0.7578 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003374/1.333, allocations: 1.067 MB / 0.8678 GB, free: 0.6094 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.974e-05/1.333, allocations: 6.375 kB / 0.8678 GB, free: 0.6055 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001705/1.333, allocations: 39.78 kB / 0.8678 GB, free: 0.6055 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.464e-05/1.333, allocations: 40.83 kB / 0.8679 GB, free: 0.6016 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002858/1.336, allocations: 0.8279 MB / 0.8687 GB, free: 0.5898 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.01014/1.346, allocations: 4.252 MB / 0.8728 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009728/1.347, allocations: 375.2 kB / 0.8732 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004861/1.348, allocations: 210.6 kB / 0.8734 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003009/1.348, allocations: 103.2 kB / 0.8735 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.693e-05/1.348, allocations: 44.12 kB / 0.8735 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=36): time 4.658e-06/1.348, allocations: 1.094 kB / 0.8735 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of matching and sorting (n=38): time 0.00451/1.353, allocations: 1.319 MB / 0.8748 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.081e-05/1.353, allocations: 60.97 kB / 0.8749 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002761/1.356, allocations: 1 MB / 0.8758 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001198/1.356, allocations: 38.23 kB / 0.8759 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006396/1.356, allocations: 0.4919 MB / 0.8764 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000225/1.357, allocations: 141 kB / 0.8765 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003578/1.357, allocations: 123.2 kB / 0.8766 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002057/1.357, allocations: 333.2 kB / 0.8769 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007486/1.358, allocations: 238.8 kB / 0.8771 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009602/1.359, allocations: 435.8 kB / 0.8776 GB, free: 12.66 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.003552/1.363, allocations: 1.208 MB / 0.8787 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.946e-06/1.363, allocations: 2.406 kB / 0.8787 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002093/1.365, allocations: 0.7697 MB / 0.8795 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.901e-05/1.365, allocations: 6.281 kB / 0.8795 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.39e-05/1.365, allocations: 11.31 kB / 0.8795 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.06e-05/1.365, allocations: 12.47 kB / 0.8795 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008132/1.366, allocations: 142.7 kB / 0.8797 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.517e-05/1.366, allocations: 8.844 kB / 0.8797 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/1.367, allocations: 60.94 kB / 0.8797 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.733e-05/1.367, allocations: 26.53 kB / 0.8798 GB, free: 12.26 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.0007109/1.368, allocations: 320.5 kB / 0.8801 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002806/1.368, allocations: 97.91 kB / 0.8802 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003378/1.369, allocations: 103 kB / 0.8803 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/1.369, allocations: 3.781 kB / 0.8803 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/1.369, allocations: 0 / 0.8803 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001145/1.37, allocations: 0.6798 MB / 0.8809 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00441/1.374, allocations: 1.584 MB / 0.8825 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/1.374, allocations: 2.906 kB / 0.8825 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006004/1.375, allocations: 91.3 kB / 0.8826 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.707e-05/1.375, allocations: 6.125 kB / 0.8826 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.928e-05/1.375, allocations: 19.66 kB / 0.8826 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.29e-05/1.375, allocations: 7.812 kB / 0.8826 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/1.375, allocations: 6.125 kB / 0.8826 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001878/1.377, allocations: 0.854 MB / 0.8834 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007734/1.378, allocations: 236.7 kB / 0.8837 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003598/1.378, allocations: 18.27 kB / 0.8837 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001225/1.379, allocations: 34.78 kB / 0.8837 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/1.38, allocations: 43.14 kB / 0.8837 GB, free: 10.19 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001189/1.38, allocations: 28.12 kB / 0.8838 GB, free: 10.19 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002082/1.382, allocations: 0.7067 MB / 0.8845 GB, free: 9.902 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7.22e-07/1.382, allocations: 0.8125 kB / 0.8845 GB, free: 9.902 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001989/1.384, allocations: 255.8 kB / 0.8847 GB, free: 9.883 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.003205/1.387, allocations: 1.495 MB / 0.8862 GB, free: 8.805 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001647/1.389, allocations: 0.5009 MB / 0.8867 GB, free: 8.668 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.287e-05/1.389, allocations: 3.562 kB / 0.8867 GB, free: 8.668 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004283/1.389, allocations: 196.9 kB / 0.8868 GB, free: 8.613 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004877/1.394, allocations: 0.6098 MB / 0.8874 GB, free: 8.449 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02057/1.415, allocations: 7.593 MB / 0.8949 GB, free: 4.438 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001342/1.416, allocations: 1.105 MB / 0.8959 GB, free: 3.684 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00135/1.417, allocations: 240.8 kB / 0.8962 GB, free: 3.637 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00066/1.418, allocations: 343.6 kB / 0.8965 GB, free: 3.387 MB / 0.6544 GB Notification: Performance of SimCode: time 1.212e-06/1.418, allocations: 1.281 kB / 0.8965 GB, free: 3.387 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0955/1.514, allocations: 28.29 MB / 0.9241 GB, free: 9.82 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.34/16.86, allocations: 3.5 kB / 0.9241 GB, free: 9.82 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)