Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_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.0008468/0.0008468, allocations: 99.28 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009132/0.0009132, allocations: 185.2 kB / 16.92 MB, free: 6.75 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.301/1.301, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6736/0.6736, allocations: 115.5 MB / 407.6 MB, free: 2.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003064/0.0003064, allocations: 8 kB / 496 MB, free: 6.266 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1247, allocations: 77.52 MB / 0.56 GB, free: 8.945 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.4305/0.5552, allocations: 185.7 MB / 0.7414 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009057/0.5643, allocations: 5.716 MB / 0.747 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001407/0.5658, allocations: 39.75 kB / 0.747 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001554/0.5673, allocations: 0.4896 MB / 0.7475 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004663/0.572, allocations: 1.723 MB / 0.7492 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002888/0.5749, allocations: 1.076 MB / 0.7503 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004484/0.5794, allocations: 4.098 MB / 0.7543 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001524/0.581, allocations: 0.9279 MB / 0.7552 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001854/0.5828, allocations: 0.8672 MB / 0.756 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002168/0.585, allocations: 0.9405 MB / 0.7569 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002428/0.5853, allocations: 48 kB / 0.757 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003138/0.5884, allocations: 1.633 MB / 0.7586 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006747/0.5891, allocations: 494.6 kB / 0.759 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001096/0.5902, allocations: 0.6547 MB / 0.7597 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003384/0.5936, allocations: 2.313 MB / 0.7619 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.5936, allocations: 7.938 kB / 0.7619 GB, free: 7.758 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.363e-06/0.5936, allocations: 4 kB / 0.762 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.741e-05/0.5937, allocations: 0 / 0.762 GB, free: 7.754 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.00261/0.5963, allocations: 1.36 MB / 0.7633 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.5963, allocations: 12.03 kB / 0.7633 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002857/0.5966, allocations: 164.1 kB / 0.7634 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002066/0.5987, allocations: 326.2 kB / 0.7638 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001494/0.6002, allocations: 0.8707 MB / 0.7646 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.496e-05/0.6003, allocations: 74 kB / 0.7647 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001547/0.6005, allocations: 100 kB / 0.7648 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001918/0.6024, allocations: 1.093 MB / 0.7658 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/0.6024, allocations: 0 / 0.7658 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/0.6025, allocations: 51.98 kB / 0.7659 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-05/0.6026, allocations: 41.92 kB / 0.7659 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001692/0.6043, allocations: 1.007 MB / 0.7669 GB, free: 2.559 MB / 0.5762 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.006039/0.6103, allocations: 4.252 MB / 0.7711 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008845/0.6112, allocations: 0.5967 MB / 0.7717 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005152/0.6118, allocations: 354.5 kB / 0.772 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001761/0.6119, allocations: 101.5 kB / 0.7721 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.178e-05/0.612, allocations: 46.98 kB / 0.7721 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 1.733e-06/0.612, allocations: 0 / 0.7721 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55): time 0.004062/0.6161, allocations: 2.228 MB / 0.7743 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.6161, allocations: 63.89 kB / 0.7744 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.6172, allocations: 0.8843 MB / 0.7752 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.808e-05/0.6173, allocations: 37.7 kB / 0.7753 GB, free: 9.539 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003593/0.6176, allocations: 0.5107 MB / 0.7758 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001817/0.6178, allocations: 197.2 kB / 0.776 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.703e-05/0.6179, allocations: 61.67 kB / 0.776 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.618, allocations: 338 kB / 0.7763 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004776/0.6185, allocations: 285.8 kB / 0.7766 GB, free: 8.141 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000582/0.6191, allocations: 444.9 kB / 0.777 GB, free: 7.66 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.003795/0.6229, allocations: 1.772 MB / 0.7788 GB, free: 5.82 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.6229, allocations: 3.938 kB / 0.7788 GB, free: 5.816 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001509/0.6244, allocations: 0.9379 MB / 0.7797 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.6245, allocations: 7.938 kB / 0.7797 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.6245, allocations: 8 kB / 0.7797 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001912/0.6247, allocations: 102.5 kB / 0.7798 GB, free: 4.738 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007114/0.6254, allocations: 171.8 kB / 0.78 GB, free: 4.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003118/0.6285, allocations: 4.282 MB / 0.7841 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009542/0.6295, allocations: 71.95 kB / 0.7842 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.583e-05/0.6296, allocations: 27.98 kB / 0.7842 GB, free: 15.79 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 (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.0004779/0.6301, allocations: 345.5 kB / 0.7846 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001648/0.6302, allocations: 106.8 kB / 0.7847 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002028/0.6304, allocations: 109.2 kB / 0.7848 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.6305, allocations: 4 kB / 0.7848 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.6305, allocations: 7.938 kB / 0.7848 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001083/0.6316, allocations: 0.777 MB / 0.7855 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003086/0.6347, allocations: 2.003 MB / 0.7875 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.6347, allocations: 4 kB / 0.7875 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006786/0.6354, allocations: 156.2 kB / 0.7876 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-05/0.6355, allocations: 40.84 kB / 0.7877 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.556e-05/0.6355, allocations: 19.98 kB / 0.7877 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001075/0.6366, allocations: 1.487 MB / 0.7892 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.6366, allocations: 4 kB / 0.7892 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001657/0.6383, allocations: 1.222 MB / 0.7904 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004008/0.6387, allocations: 263.8 kB / 0.7906 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001331/0.6388, allocations: 12 kB / 0.7906 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008439/0.6397, allocations: 72.72 kB / 0.7907 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.949e-05/0.6398, allocations: 43.83 kB / 0.7907 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.994e-05/0.6399, allocations: 35.98 kB / 0.7908 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007339/0.6406, allocations: 0.6161 MB / 0.7914 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6406, allocations: 0 / 0.7914 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009192/0.6415, allocations: 304 kB / 0.7917 GB, free: 7.809 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.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 (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.002252/0.6438, allocations: 1.868 MB / 0.7935 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001406/0.6452, allocations: 1 MB / 0.7945 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.6452, allocations: 0 / 0.7945 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005923/0.6458, allocations: 462 kB / 0.7949 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003138/0.649, allocations: 0.6303 MB / 0.7955 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01145/0.6604, allocations: 8.777 MB / 0.8041 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007358/0.6612, allocations: 1.17 MB / 0.8052 GB, free: 9.383 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008911/0.6621, allocations: 252.4 kB / 0.8055 GB, free: 9.133 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000499/0.6626, allocations: 387.3 kB / 0.8058 GB, free: 8.758 MB / 0.6231 GB Notification: Performance of SimCode: time 4.81e-07/0.6626, allocations: 0 / 0.8058 GB, free: 8.758 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.105/5.768, allocations: 28.89 MB / 0.8341 GB, free: 229.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000231/5.768, allocations: 304.5 kB / 0.8343 GB, free: 228.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.31/10.08, allocations: 0 / 0.8343 GB, free: 228.9 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)