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.007045/0.007045, allocations: 102 kB / 15.73 MB, free: 6.035 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.001675/0.001675, allocations: 187.9 kB / 16.67 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.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7375/0.7375, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 71.3 kB / 0.5809 GB, free: 1.105 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1573, allocations: 80.2 MB / 0.6592 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.5848/0.7422, allocations: 190.4 MB / 0.8452 GB, free: 3.152 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.009067/0.7513, allocations: 5.69 MB / 0.8507 GB, free: 3.062 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002222/0.7536, allocations: 41.16 kB / 0.8508 GB, free: 3.062 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001841/0.7555, allocations: 0.5938 MB / 0.8514 GB, free: 3.055 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004984/0.7605, allocations: 1.895 MB / 0.8532 GB, free: 2.977 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003012/0.7635, allocations: 1.189 MB / 0.8544 GB, free: 2.945 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003909/0.7674, allocations: 2.953 MB / 0.8573 GB, free: 2.945 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001797/0.7693, allocations: 1.127 MB / 0.8584 GB, free: 2.84 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002248/0.7715, allocations: 1.112 MB / 0.8594 GB, free: 2.836 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002183/0.7737, allocations: 0.9668 MB / 0.8604 GB, free: 2.832 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003332/0.7741, allocations: 123.4 kB / 0.8605 GB, free: 2.832 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003218/0.7773, allocations: 1.459 MB / 0.8619 GB, free: 2.82 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006744/0.778, allocations: 0.5667 MB / 0.8625 GB, free: 2.781 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001126/0.7792, allocations: 0.7214 MB / 0.8632 GB, free: 2.598 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003891/0.7831, allocations: 2.344 MB / 0.8655 GB, free: 2.316 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.7831, allocations: 2.531 kB / 0.8655 GB, free: 2.316 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.703e-06/0.7831, allocations: 0.9375 kB / 0.8655 GB, free: 2.316 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.725e-05/0.7832, allocations: 0 / 0.8655 GB, free: 2.316 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002669/0.7858, allocations: 1.626 MB / 0.8671 GB, free: 1.496 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.7859, allocations: 10.06 kB / 0.8671 GB, free: 1.496 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001684/0.7861, allocations: 158.4 kB / 0.8672 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002007/0.7881, allocations: 329.1 kB / 0.8675 GB, free: 1.387 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00152/0.7896, allocations: 0.9176 MB / 0.8684 GB, free: 1.055 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.684e-05/0.7897, allocations: 73.28 kB / 0.8685 GB, free: 1.051 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001398/0.7898, allocations: 97.62 kB / 0.8686 GB, free: 1.051 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001616/0.7915, allocations: 1.079 MB / 0.8697 GB, free: 0.9922 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.651e-05/0.7915, allocations: 0.8125 kB / 0.8697 GB, free: 0.9922 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.81e-05/0.7916, allocations: 41.97 kB / 0.8697 GB, free: 0.9922 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.19e-05/0.7916, allocations: 47.61 kB / 0.8697 GB, free: 0.9883 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00145/0.7931, allocations: 0.9843 MB / 0.8707 GB, free: 0.9805 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.00555/0.7987, allocations: 4.218 MB / 0.8748 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007918/0.7995, allocations: 0.5917 MB / 0.8754 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000435/0.7999, allocations: 338 kB / 0.8757 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001952/0.8001, allocations: 108.5 kB / 0.8758 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.8002, allocations: 47.88 kB / 0.8759 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=53): time 2.505e-06/0.8002, allocations: 0 / 0.8759 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of matching and sorting (n=55): time 0.003868/0.804, allocations: 2.192 MB / 0.878 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.8041, allocations: 58.56 kB / 0.8781 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009953/0.8051, allocations: 0.8909 MB / 0.8789 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.84e-05/0.8052, allocations: 36.3 kB / 0.879 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003255/0.8055, allocations: 0.5181 MB / 0.8795 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001557/0.8057, allocations: 195 kB / 0.8797 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001917/0.8059, allocations: 130.1 kB / 0.8798 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.806, allocations: 338.9 kB / 0.8801 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004183/0.8064, allocations: 281.9 kB / 0.8804 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005211/0.8069, allocations: 445.2 kB / 0.8808 GB, free: 12.6 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.003495/0.8104, allocations: 1.734 MB / 0.8825 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.8104, allocations: 3.625 kB / 0.8825 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001387/0.8118, allocations: 0.9228 MB / 0.8834 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.8119, allocations: 7.938 kB / 0.8834 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.8119, allocations: 3.75 kB / 0.8834 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002016/0.8121, allocations: 103.6 kB / 0.8835 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006694/0.8128, allocations: 162.4 kB / 0.8837 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003418/0.8162, allocations: 4.64 MB / 0.8882 GB, free: 7.125 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009681/0.8172, allocations: 34.8 kB / 0.8882 GB, free: 7.109 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.884e-05/0.8173, allocations: 32.94 kB / 0.8883 GB, free: 7.102 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: 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.0005717/0.8178, allocations: 338.6 kB / 0.8886 GB, free: 6.898 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001675/0.818, allocations: 105.5 kB / 0.8887 GB, free: 6.844 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001818/0.8182, allocations: 113.9 kB / 0.8888 GB, free: 6.777 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.8182, allocations: 5.375 kB / 0.8888 GB, free: 6.777 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.8182, allocations: 2.719 kB / 0.8888 GB, free: 6.777 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001019/0.8192, allocations: 0.7602 MB / 0.8896 GB, free: 6.336 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003125/0.8224, allocations: 1.992 MB / 0.8915 GB, free: 5.383 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.8224, allocations: 2.562 kB / 0.8915 GB, free: 5.383 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000612/0.823, allocations: 150.9 kB / 0.8916 GB, free: 5.379 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001065/0.8231, allocations: 43.64 kB / 0.8917 GB, free: 5.363 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.148e-05/0.8232, allocations: 13.98 kB / 0.8917 GB, free: 5.359 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001301/0.8245, allocations: 1.606 MB / 0.8933 GB, free: 3.891 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.453e-06/0.8245, allocations: 9.562 kB / 0.8933 GB, free: 3.887 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001658/0.8262, allocations: 1.23 MB / 0.8945 GB, free: 3.258 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000479/0.8267, allocations: 252.8 kB / 0.8947 GB, free: 3.082 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/0.8268, allocations: 15.09 kB / 0.8947 GB, free: 3.074 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006471/0.8275, allocations: 35.38 kB / 0.8948 GB, free: 3.062 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.8276, allocations: 51.94 kB / 0.8948 GB, free: 3.051 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.527e-05/0.8277, allocations: 28.62 kB / 0.8948 GB, free: 3.047 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008307/0.8285, allocations: 0.6152 MB / 0.8954 GB, free: 2.797 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.473e-06/0.8285, allocations: 0 / 0.8954 GB, free: 2.797 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001145/0.8297, allocations: 304.6 kB / 0.8957 GB, free: 2.777 MB / 0.6544 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 (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.002344/0.832, allocations: 1.876 MB / 0.8976 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001577/0.8336, allocations: 1.009 MB / 0.8986 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.8336, allocations: 2.312 kB / 0.8986 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000599/0.8342, allocations: 452.3 kB / 0.899 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002758/0.837, allocations: 0.6455 MB / 0.8996 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01189/0.8489, allocations: 7.911 MB / 0.9073 GB, free: 10.52 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008189/0.8497, allocations: 1.174 MB / 0.9085 GB, free: 9.312 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009272/0.8507, allocations: 252.4 kB / 0.9087 GB, free: 9.062 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004997/0.8512, allocations: 383.3 kB / 0.9091 GB, free: 8.688 MB / 0.67 GB Notification: Performance of SimCode: time 6.41e-07/0.8512, allocations: 0 / 0.9091 GB, free: 8.688 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06291/0.9141, allocations: 30.55 MB / 0.9389 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/13.57, allocations: 12.64 kB / 0.9389 GB, free: 10.71 MB / 0.7012 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/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)