Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",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.001458/0.001458, allocations: 106.8 kB / 16.27 MB, free: 6.402 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.001723/0.001723, allocations: 189.5 kB / 17.2 MB, free: 5.938 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.386/1.386, allocations: 222.9 MB / 240.9 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8009/0.8009, allocations: 122.9 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 63.89 kB / 0.4912 GB, free: 7.371 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3249, allocations: 77.92 MB / 0.5673 GB, free: 32.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.4656/0.7905, allocations: 187.2 MB / 0.7501 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01482/0.8054, allocations: 13.07 MB / 0.7629 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001287/0.8067, allocations: 35.69 kB / 0.7629 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001438/0.8082, allocations: 429.5 kB / 0.7633 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002991/0.8112, allocations: 1.149 MB / 0.7645 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001882/0.8131, allocations: 0.6993 MB / 0.7652 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002709/0.8159, allocations: 2.02 MB / 0.7671 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001196/0.8171, allocations: 0.837 MB / 0.7679 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00364/0.8207, allocations: 1.811 MB / 0.7697 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001322/0.8221, allocations: 0.6712 MB / 0.7704 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001467/0.8222, allocations: 80.41 kB / 0.7704 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001637/0.8239, allocations: 0.873 MB / 0.7713 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003479/0.8242, allocations: 384.4 kB / 0.7717 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005505/0.8248, allocations: 0.4978 MB / 0.7721 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001773/0.8266, allocations: 1.476 MB / 0.7736 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.8266, allocations: 0.9062 kB / 0.7736 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.323e-06/0.8266, allocations: 0.8438 kB / 0.7736 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.554e-05/0.8266, allocations: 0 / 0.7736 GB, free: 1.469 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.002063/0.8287, allocations: 1.231 MB / 0.7748 GB, free: 16.78 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.8287, allocations: 10.12 kB / 0.7748 GB, free: 16.78 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001452/0.8289, allocations: 124.9 kB / 0.7749 GB, free: 16.74 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001305/0.8302, allocations: 209.6 kB / 0.7751 GB, free: 16.69 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.8312, allocations: 0.6483 MB / 0.7758 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.787e-05/0.8313, allocations: 57.22 kB / 0.7758 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.8314, allocations: 84.03 kB / 0.7759 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/0.8327, allocations: 0.9303 MB / 0.7768 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/0.8327, allocations: 4.781 kB / 0.7768 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.878e-05/0.8328, allocations: 30.69 kB / 0.7768 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.557e-05/0.8328, allocations: 27.62 kB / 0.7769 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009302/0.8338, allocations: 0.6206 MB / 0.7775 GB, free: 16.12 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.003845/0.8376, allocations: 4.598 MB / 0.782 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006782/0.8383, allocations: 0.5474 MB / 0.7825 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002775/0.8386, allocations: 252.5 kB / 0.7827 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001719/0.8388, allocations: 96.86 kB / 0.7828 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.8388, allocations: 40.81 kB / 0.7829 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 3.396e-06/0.8388, allocations: 7.922 kB / 0.7829 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45): time 0.00251/0.8414, allocations: 1.59 MB / 0.7844 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/0.8414, allocations: 109.7 kB / 0.7845 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007216/0.8421, allocations: 0.7133 MB / 0.7852 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.074e-05/0.8422, allocations: 36.33 kB / 0.7853 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002557/0.8425, allocations: 419.1 kB / 0.7857 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.8426, allocations: 158.7 kB / 0.7858 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.8428, allocations: 127.7 kB / 0.7859 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.8429, allocations: 328.8 kB / 0.7862 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002481/0.8431, allocations: 188.4 kB / 0.7864 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004106/0.8435, allocations: 418.2 kB / 0.7868 GB, free: 10.86 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001993/0.8455, allocations: 1.175 MB / 0.788 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.8456, allocations: 3.406 kB / 0.788 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.000869/0.8464, allocations: 0.6689 MB / 0.7886 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.8465, allocations: 7.375 kB / 0.7886 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/0.8465, allocations: 5.5 kB / 0.7886 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.8465, allocations: 12 kB / 0.7886 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004343/0.8469, allocations: 130.3 kB / 0.7888 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.479e-05/0.847, allocations: 17.41 kB / 0.7888 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005808/0.8476, allocations: 28.12 kB / 0.7888 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-05/0.8476, allocations: 28.66 kB / 0.7888 GB, free: 10.45 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: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * 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.0003664/0.848, allocations: 277.1 kB / 0.7891 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001541/0.8482, allocations: 86.53 kB / 0.7892 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001359/0.8483, allocations: 92.55 kB / 0.7893 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.8483, allocations: 8.969 kB / 0.7893 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-06/0.8483, allocations: 0 / 0.7893 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006232/0.8489, allocations: 0.6978 MB / 0.79 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002066/0.851, allocations: 1.642 MB / 0.7916 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.851, allocations: 2.781 kB / 0.7916 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004208/0.8515, allocations: 101.3 kB / 0.7917 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.8515, allocations: 6.156 kB / 0.7917 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.048e-05/0.8515, allocations: 15 kB / 0.7917 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.261e-06/0.8515, allocations: 9.062 kB / 0.7917 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.8515, allocations: 7.5 kB / 0.7917 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009574/0.8525, allocations: 0.8761 MB / 0.7926 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002703/0.8528, allocations: 204.7 kB / 0.7928 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.8529, allocations: 16.45 kB / 0.7928 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004358/0.8533, allocations: 18.38 kB / 0.7928 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.979e-05/0.8534, allocations: 40.06 kB / 0.7928 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.079e-05/0.8534, allocations: 20.34 kB / 0.7928 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005671/0.854, allocations: 0.5127 MB / 0.7934 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.51e-07/0.854, allocations: 3.062 kB / 0.7934 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007605/0.8548, allocations: 197.2 kB / 0.7935 GB, free: 8.672 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * 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.001537/0.8563, allocations: 1.501 MB / 0.795 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007865/0.8571, allocations: 0.5174 MB / 0.7955 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.8571, allocations: 0 / 0.7955 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002581/0.8574, allocations: 213.4 kB / 0.7957 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002077/0.8595, allocations: 480.7 kB / 0.7962 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008898/0.8684, allocations: 6.926 MB / 0.8029 GB, free: 4.742 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000588/0.869, allocations: 1.033 MB / 0.8039 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000886/0.8699, allocations: 208.8 kB / 0.8041 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000495/0.8704, allocations: 298.6 kB / 0.8044 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of SimCode: time 1.423e-06/0.8704, allocations: 0 / 0.8044 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3892/1.26, allocations: 22.04 MB / 0.826 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.035/10.29, allocations: 9.188 kB / 0.826 GB, free: 9.238 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)