Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/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.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="IDEAS_IDEAS_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.001349/0.001349, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001842/0.001842, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.309/2.309, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.467/1.467, allocations: 132.3 MB / 423.2 MB, free: 2.168 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006796/0.0006797, allocations: 13 kB / 0.5033 GB, free: 4.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.025/1.026, allocations: 81.57 MB / 0.583 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.3079/1.334, allocations: 158.2 MB / 0.7375 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01803/1.352, allocations: 5.62 MB / 0.743 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003169/1.355, allocations: 27.81 kB / 0.743 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003811/1.359, allocations: 0.5638 MB / 0.7436 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01076/1.37, allocations: 1.652 MB / 0.7452 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007575/1.377, allocations: 1.192 MB / 0.7463 GB, free: 8.922 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006425/1.384, allocations: 1.684 MB / 0.748 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002525/1.386, allocations: 0.8215 MB / 0.7488 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003477/1.39, allocations: 0.7786 MB / 0.7495 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002321/1.392, allocations: 0.6071 MB / 0.7501 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003635/1.393, allocations: 44 kB / 0.7502 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004692/1.397, allocations: 0.6201 MB / 0.7508 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001326/1.399, allocations: 458.8 kB / 0.7512 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001258/1.4, allocations: 277.1 kB / 0.7515 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004826/1.405, allocations: 1.562 MB / 0.753 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/1.405, allocations: 0 / 0.753 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.958e-06/1.405, allocations: 3.938 kB / 0.753 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001172/1.405, allocations: 0 / 0.753 GB, free: 2.047 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.006666/1.412, allocations: 1.351 MB / 0.7543 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 7.445e-05/1.412, allocations: 12.03 kB / 0.7543 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007836/1.413, allocations: 160.2 kB / 0.7545 GB, free: 480 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004754/1.417, allocations: 330.1 kB / 0.7548 GB, free: 148 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004216/1.422, allocations: 0.8401 MB / 0.7556 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002037/1.422, allocations: 74 kB / 0.7557 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006337/1.423, allocations: 104 kB / 0.7558 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004764/1.427, allocations: 1.073 MB / 0.7568 GB, free: 14 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.084e-05/1.427, allocations: 0 / 0.7568 GB, free: 14 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003064/1.428, allocations: 44 kB / 0.7569 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000109/1.428, allocations: 41.98 kB / 0.7569 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00312/1.431, allocations: 1.003 MB / 0.7579 GB, free: 12.92 MB / 0.5919 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.0102/1.441, allocations: 4.233 MB / 0.762 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/1.442, allocations: 0.5997 MB / 0.7626 GB, free: 7.781 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.756e-05/1.443, allocations: 16.41 kB / 0.7626 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.251e-05/1.443, allocations: 50.84 kB / 0.7627 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 3.867e-06/1.443, allocations: 4 kB / 0.7627 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55): time 0.005829/1.448, allocations: 2.214 MB / 0.7649 GB, free: 5.371 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.25e-05/1.449, allocations: 59.97 kB / 0.7649 GB, free: 5.301 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00152/1.45, allocations: 0.8726 MB / 0.7658 GB, free: 4.418 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001244/1.45, allocations: 45.7 kB / 0.7658 GB, free: 4.367 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005986/1.451, allocations: 0.5184 MB / 0.7663 GB, free: 3.84 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003148/1.451, allocations: 193.1 kB / 0.7665 GB, free: 3.648 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.444e-05/1.451, allocations: 16 kB / 0.7665 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002113/1.451, allocations: 345.9 kB / 0.7668 GB, free: 3.289 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006612/1.452, allocations: 281.8 kB / 0.7671 GB, free: 3.012 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008134/1.453, allocations: 446.6 kB / 0.7675 GB, free: 2.523 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.003733/1.457, allocations: 1.1 MB / 0.7686 GB, free: 1.406 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.208e-06/1.457, allocations: 0 / 0.7686 GB, free: 1.406 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002266/1.459, allocations: 0.9257 MB / 0.7695 GB, free: 476 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/1.459, allocations: 8.5 kB / 0.7695 GB, free: 468 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.859e-05/1.459, allocations: 8 kB / 0.7695 GB, free: 460 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002766/1.459, allocations: 98.52 kB / 0.7696 GB, free: 352 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008722/1.46, allocations: 171.7 kB / 0.7698 GB, free: 180 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005661/1.466, allocations: 4.333 MB / 0.774 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00171/1.468, allocations: 68.61 kB / 0.7741 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001659/1.468, allocations: 28 kB / 0.7741 GB, free: 11.36 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 sytem: 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001053/1.469, allocations: 341.6 kB / 0.7744 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004496/1.469, allocations: 98.88 kB / 0.7745 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003556/1.47, allocations: 121.1 kB / 0.7746 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/1.47, allocations: 8 kB / 0.7747 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/1.47, allocations: 0 / 0.7747 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001457/1.471, allocations: 0.7691 MB / 0.7754 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00439/1.476, allocations: 1.996 MB / 0.7774 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-05/1.476, allocations: 4 kB / 0.7774 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007822/1.477, allocations: 159.8 kB / 0.7775 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001234/1.477, allocations: 37 kB / 0.7775 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.35e-05/1.477, allocations: 19.98 kB / 0.7776 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001431/1.478, allocations: 1.503 MB / 0.779 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/1.478, allocations: 7.938 kB / 0.779 GB, free: 6 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002392/1.481, allocations: 1.388 MB / 0.7804 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008227/1.481, allocations: 259.9 kB / 0.7806 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002698/1.482, allocations: 12 kB / 0.7807 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/1.483, allocations: 73.48 kB / 0.7807 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/1.483, allocations: 47.88 kB / 0.7808 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/1.483, allocations: 35.98 kB / 0.7808 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001127/1.484, allocations: 0.6044 MB / 0.7814 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.21e-07/1.484, allocations: 0 / 0.7814 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001472/1.486, allocations: 312 kB / 0.7817 GB, free: 3.125 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.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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003467/1.489, allocations: 2.931 MB / 0.7846 GB, free: 100 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001921/1.491, allocations: 0.9958 MB / 0.7855 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/1.491, allocations: 0 / 0.7855 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007397/1.492, allocations: 462.2 kB / 0.786 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003716/1.496, allocations: 0.6137 MB / 0.7866 GB, free: 14 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01482/1.511, allocations: 8.591 MB / 0.795 GB, free: 5.117 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001101/1.512, allocations: 1.19 MB / 0.7961 GB, free: 3.898 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001656/1.513, allocations: 252.4 kB / 0.7964 GB, free: 3.648 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007255/1.514, allocations: 375.3 kB / 0.7967 GB, free: 3.281 MB / 0.6231 GB Notification: Performance of SimCode: time 2.265e-06/1.514, allocations: 3.938 kB / 0.7967 GB, free: 3.277 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5742/2.088, allocations: 29.92 MB / 0.8259 GB, free: 214.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002208/2.089, allocations: 273.6 kB / 0.8262 GB, free: 214.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.967/6.056, allocations: 0 / 0.8262 GB, free: 214.2 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) Environment - environmentSimulation: