Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.MixingVolumeTraceSubstance,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="IBPSA_latest_IBPSA_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.001457/0.001457, allocations: 105 kB / 16.27 MB, free: 5.953 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.001118/0.001118, allocations: 185.7 kB / 17.19 MB, free: 5.59 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.267/1.267, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7077/0.7077, allocations: 122.9 MB / 413.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 67.91 kB / 0.4912 GB, free: 7.305 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2939, allocations: 77.91 MB / 0.5673 GB, free: 32.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.374/0.6679, allocations: 190.3 MB / 0.7531 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006558/0.6745, allocations: 5.69 MB / 0.7587 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001044/0.6756, allocations: 42.22 kB / 0.7587 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001144/0.6768, allocations: 0.563 MB / 0.7593 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00299/0.6798, allocations: 1.61 MB / 0.7608 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002416/0.6822, allocations: 1.196 MB / 0.762 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002616/0.6848, allocations: 2.507 MB / 0.7645 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001186/0.686, allocations: 0.994 MB / 0.7654 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001441/0.6875, allocations: 1.02 MB / 0.7664 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001164/0.6886, allocations: 0.8157 MB / 0.7672 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001463/0.6888, allocations: 103 kB / 0.7673 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002049/0.6909, allocations: 1.521 MB / 0.7688 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003321/0.6912, allocations: 0.4891 MB / 0.7693 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005567/0.6918, allocations: 0.6212 MB / 0.7699 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001806/0.6936, allocations: 2.092 MB / 0.7719 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.6936, allocations: 0 / 0.7719 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6936, allocations: 0.9688 kB / 0.7719 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.566e-05/0.6936, allocations: 1.188 kB / 0.7719 GB, free: 1.379 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.001725/0.6953, allocations: 1.48 MB / 0.7734 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.6954, allocations: 10.12 kB / 0.7734 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001339/0.6955, allocations: 143.7 kB / 0.7735 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001573/0.6971, allocations: 330.1 kB / 0.7738 GB, free: 16.49 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008928/0.698, allocations: 0.7736 MB / 0.7746 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003075/0.6983, allocations: 123.3 kB / 0.7747 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.6984, allocations: 83.97 kB / 0.7748 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/0.6997, allocations: 1.085 MB / 0.7759 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.6997, allocations: 1.062 kB / 0.7759 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.232e-05/0.6998, allocations: 42.83 kB / 0.7759 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.96e-05/0.6998, allocations: 31.97 kB / 0.7759 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/0.701, allocations: 0.8416 MB / 0.7767 GB, free: 16.01 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.003884/0.7049, allocations: 4.303 MB / 0.7809 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004118/0.7053, allocations: 370 kB / 0.7813 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002059/0.7055, allocations: 217.3 kB / 0.7815 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001389/0.7057, allocations: 101 kB / 0.7816 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.7057, allocations: 46.34 kB / 0.7816 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=36): time 1.283e-06/0.7057, allocations: 0 / 0.7816 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of matching and sorting (n=38): time 0.001729/0.7074, allocations: 1.328 MB / 0.7829 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.569e-05/0.7075, allocations: 54.94 kB / 0.783 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009452/0.7084, allocations: 1.005 MB / 0.784 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.694e-05/0.7085, allocations: 38.11 kB / 0.784 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002464/0.7087, allocations: 0.4929 MB / 0.7845 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.972e-05/0.7088, allocations: 138.4 kB / 0.7846 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/0.709, allocations: 122.8 kB / 0.7847 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.188e-05/0.7091, allocations: 325.1 kB / 0.7851 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003726/0.7094, allocations: 253.2 kB / 0.7853 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004681/0.7099, allocations: 421.1 kB / 0.7857 GB, free: 12.1 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.001884/0.7118, allocations: 1.226 MB / 0.7869 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.7118, allocations: 3.938 kB / 0.7869 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001063/0.7129, allocations: 0.7846 MB / 0.7877 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.7129, allocations: 8.969 kB / 0.7877 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.7129, allocations: 7.312 kB / 0.7877 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.7129, allocations: 6.844 kB / 0.7877 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004507/0.7134, allocations: 145.9 kB / 0.7878 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.7134, allocations: 12.27 kB / 0.7878 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007227/0.7141, allocations: 71.45 kB / 0.7879 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.746e-05/0.7142, allocations: 25.84 kB / 0.7879 GB, free: 11.69 MB / 0.5919 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.0002734/0.7145, allocations: 320.3 kB / 0.7882 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.7146, allocations: 96.17 kB / 0.7883 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001219/0.7147, allocations: 103.8 kB / 0.7884 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.7147, allocations: 3.406 kB / 0.7884 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.7147, allocations: 0.75 kB / 0.7884 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004906/0.7152, allocations: 0.6812 MB / 0.7891 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001612/0.7168, allocations: 1.584 MB / 0.7906 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.7169, allocations: 9.156 kB / 0.7907 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003043/0.7172, allocations: 83.39 kB / 0.7907 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.7172, allocations: 4.812 kB / 0.7907 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.394e-05/0.7172, allocations: 21.11 kB / 0.7908 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.7172, allocations: 9.156 kB / 0.7908 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.7172, allocations: 8.344 kB / 0.7908 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007254/0.718, allocations: 0.8237 MB / 0.7916 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002642/0.7182, allocations: 241.2 kB / 0.7918 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.7183, allocations: 13.53 kB / 0.7918 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005681/0.7189, allocations: 37.73 kB / 0.7919 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.697e-05/0.719, allocations: 38.23 kB / 0.7919 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.024e-05/0.719, allocations: 31.45 kB / 0.7919 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007183/0.7197, allocations: 0.7144 MB / 0.7926 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.62e-07/0.7197, allocations: 0.9375 kB / 0.7926 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005897/0.7203, allocations: 257.5 kB / 0.7929 GB, free: 10.03 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (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.001199/0.7215, allocations: 1.474 MB / 0.7943 GB, free: 9.176 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007208/0.7223, allocations: 0.5289 MB / 0.7948 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.7223, allocations: 4.438 kB / 0.7948 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001842/0.7225, allocations: 188.3 kB / 0.795 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002155/0.7246, allocations: 0.6252 MB / 0.7956 GB, free: 9.102 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007571/0.7322, allocations: 8.038 MB / 0.8035 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005289/0.7328, allocations: 1.097 MB / 0.8045 GB, free: 5.141 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006874/0.7334, allocations: 244.4 kB / 0.8048 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003116/0.7338, allocations: 344.9 kB / 0.8051 GB, free: 5.082 MB / 0.5919 GB Notification: Performance of SimCode: time 2.01e-07/0.7338, allocations: 0 / 0.8051 GB, free: 5.082 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.198/5.931, allocations: 27.6 MB / 0.8321 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/16.77, allocations: 3.75 kB / 0.8321 GB, free: 1.699 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)