Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_8_Buildings_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.00148/0.00148, allocations: 109.4 kB / 15.69 MB, free: 128 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.001177/0.001177, allocations: 189.5 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.314/1.314, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.617/1.617, allocations: 292.3 MB / 0.549 GB, free: 12.72 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 66.5 kB / 0.6718 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.2174, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5781/0.7955, allocations: 187.3 MB / 0.9665 GB, free: 220 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01373/0.8093, allocations: 13.03 MB / 0.9792 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001462/0.8108, allocations: 31.44 kB / 0.9793 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001329/0.8122, allocations: 427.8 kB / 0.9797 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002931/0.8151, allocations: 1.152 MB / 0.9808 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001804/0.817, allocations: 0.7079 MB / 0.9815 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002511/0.8195, allocations: 1.995 MB / 0.9834 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001098/0.8206, allocations: 0.8397 MB / 0.9843 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003792/0.8244, allocations: 1.811 MB / 0.986 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001387/0.8258, allocations: 0.6644 MB / 0.9867 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001091/0.8259, allocations: 78.19 kB / 0.9868 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001726/0.8276, allocations: 0.8737 MB / 0.9876 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003467/0.828, allocations: 389.8 kB / 0.988 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005126/0.8285, allocations: 0.4958 MB / 0.9885 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001742/0.8303, allocations: 1.492 MB / 0.9899 GB, free: 9.836 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.8303, allocations: 6.938 kB / 0.9899 GB, free: 9.832 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8303, allocations: 0 / 0.9899 GB, free: 9.832 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.279e-05/0.8303, allocations: 0 / 0.9899 GB, free: 9.832 MB / 0.7325 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.001647/0.832, allocations: 1.23 MB / 0.9911 GB, free: 8.875 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.832, allocations: 10.31 kB / 0.9911 GB, free: 8.875 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001464/0.8322, allocations: 123.4 kB / 0.9913 GB, free: 8.77 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/0.8333, allocations: 214.2 kB / 0.9915 GB, free: 8.672 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009479/0.8342, allocations: 0.668 MB / 0.9921 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.861e-05/0.8343, allocations: 57.88 kB / 0.9922 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.858e-05/0.8344, allocations: 78.75 kB / 0.9922 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/0.8356, allocations: 0.9282 MB / 0.9931 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.195e-05/0.8356, allocations: 6.594 kB / 0.9932 GB, free: 7.434 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.34e-05/0.8357, allocations: 35.94 kB / 0.9932 GB, free: 7.406 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.256e-05/0.8357, allocations: 32.25 kB / 0.9932 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008499/0.8366, allocations: 0.6153 MB / 0.9938 GB, free: 7.102 MB / 0.7325 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.003818/0.8404, allocations: 4.574 MB / 0.9983 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006342/0.841, allocations: 0.5421 MB / 0.9988 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002971/0.8413, allocations: 247.8 kB / 0.9991 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001704/0.8415, allocations: 98.42 kB / 0.9991 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.8416, allocations: 45.5 kB / 0.9992 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 3.546e-06/0.8416, allocations: 4 kB / 0.9992 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.002391/0.844, allocations: 1.584 MB / 1.001 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.29e-05/0.844, allocations: 111.7 kB / 1.001 GB, free: 1.102 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007476/0.8448, allocations: 0.7069 MB / 1.002 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.052e-05/0.8449, allocations: 38.83 kB / 1.002 GB, free: 0.6602 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000302/0.8452, allocations: 414.2 kB / 1.002 GB, free: 304 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001398/0.8453, allocations: 170 kB / 1.002 GB, free: 160 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001587/0.8455, allocations: 116.3 kB / 1.002 GB, free: 88 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000191/0.8457, allocations: 387.2 kB / 1.003 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002645/0.8459, allocations: 182.5 kB / 1.003 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004648/0.8464, allocations: 419.8 kB / 1.003 GB, free: 15.25 MB / 0.7481 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.002059/0.8485, allocations: 1.163 MB / 1.004 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.8485, allocations: 0 / 1.004 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008692/0.8494, allocations: 0.6632 MB / 1.005 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.8494, allocations: 10.81 kB / 1.005 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.8494, allocations: 7.781 kB / 1.005 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.8494, allocations: 15.89 kB / 1.005 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004163/0.8499, allocations: 127.4 kB / 1.005 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.8499, allocations: 8.25 kB / 1.005 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005039/0.8504, allocations: 33.48 kB / 1.005 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.102e-05/0.8505, allocations: 31.06 kB / 1.005 GB, free: 14.05 MB / 0.7481 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.0003546/0.8508, allocations: 278.8 kB / 1.005 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/0.851, allocations: 82.97 kB / 1.006 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001436/0.8511, allocations: 88.48 kB / 1.006 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.8511, allocations: 5.469 kB / 1.006 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/0.8512, allocations: 2.281 kB / 1.006 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006844/0.8518, allocations: 0.702 MB / 1.006 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002133/0.854, allocations: 1.637 MB / 1.008 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.854, allocations: 2.125 kB / 1.008 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004203/0.8544, allocations: 102.8 kB / 1.008 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/0.8544, allocations: 15.75 kB / 1.008 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.284e-05/0.8545, allocations: 14.83 kB / 1.008 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.925e-06/0.8545, allocations: 5.969 kB / 1.008 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.643e-06/0.8545, allocations: 12.75 kB / 1.008 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.8555, allocations: 0.8898 MB / 1.009 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000254/0.8558, allocations: 212.2 kB / 1.009 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.039e-05/0.8559, allocations: 11.97 kB / 1.009 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004172/0.8563, allocations: 22.48 kB / 1.009 GB, free: 11.03 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.754e-05/0.8564, allocations: 39.28 kB / 1.009 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.364e-05/0.8564, allocations: 23.14 kB / 1.009 GB, free: 11 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005723/0.857, allocations: 0.5017 MB / 1.01 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.31e-07/0.857, allocations: 0 / 1.01 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007622/0.8578, allocations: 207.2 kB / 1.01 GB, free: 10.69 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],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.00169/0.8595, allocations: 1.528 MB / 1.011 GB, free: 9.504 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008872/0.8604, allocations: 476.9 kB / 1.012 GB, free: 9.297 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.8604, allocations: 2.75 kB / 1.012 GB, free: 9.297 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002733/0.8607, allocations: 219.7 kB / 1.012 GB, free: 9.195 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001878/0.8626, allocations: 487.1 kB / 1.013 GB, free: 8.945 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007737/0.8703, allocations: 6.57 MB / 1.019 GB, free: 4.488 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006146/0.8709, allocations: 1.023 MB / 1.02 GB, free: 3.637 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0006594/0.8716, allocations: 200.5 kB / 1.02 GB, free: 3.547 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003545/0.872, allocations: 307.9 kB / 1.02 GB, free: 3.297 MB / 0.7481 GB Notification: Performance of SimCode: time 8.51e-07/0.872, allocations: 0 / 1.02 GB, free: 3.297 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08245/0.9544, allocations: 21.99 MB / 1.042 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.425/9.379, allocations: 23.66 kB / 1.042 GB, free: 1.012 MB / 0.7637 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)