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.00129/0.001291, allocations: 96.81 kB / 15.69 MB, free: 480 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.001592/0.001592, allocations: 174.8 kB / 16.57 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.551/2.551, allocations: 223.2 MB / 240.5 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.13/1.13, allocations: 113.7 MB / 405.3 MB, free: 4.707 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006128/0.000613, allocations: 11.98 kB / 493 MB, free: 8.613 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2983, allocations: 77.11 MB / 0.5567 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.9416/1.24, allocations: 155.7 MB / 0.7088 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02337/1.264, allocations: 10.92 MB / 0.7195 GB, free: 3.438 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002139/1.266, allocations: 27.81 kB / 0.7195 GB, free: 3.41 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002524/1.268, allocations: 437.9 kB / 0.7199 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005926/1.274, allocations: 1.044 MB / 0.7209 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004205/1.279, allocations: 0.8244 MB / 0.7217 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003969/1.282, allocations: 1.167 MB / 0.7229 GB, free: 15.95 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001669/1.284, allocations: 0.6213 MB / 0.7235 GB, free: 15.31 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004673/1.289, allocations: 1.215 MB / 0.7247 GB, free: 14.1 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001396/1.29, allocations: 434.2 kB / 0.7251 GB, free: 13.67 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001691/1.291, allocations: 32 kB / 0.7251 GB, free: 13.64 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002275/1.293, allocations: 415.4 kB / 0.7255 GB, free: 13.23 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005467/1.293, allocations: 311.1 kB / 0.7258 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005213/1.294, allocations: 205.2 kB / 0.726 GB, free: 12.72 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00218/1.296, allocations: 0.9919 MB / 0.727 GB, free: 11.73 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/1.296, allocations: 0 / 0.727 GB, free: 11.73 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.725e-06/1.296, allocations: 0 / 0.727 GB, free: 11.73 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.985e-05/1.296, allocations: 0 / 0.727 GB, free: 11.73 MB / 0.545 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.00266/1.299, allocations: 1.053 MB / 0.728 GB, free: 10.63 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 7.137e-05/1.299, allocations: 8.031 kB / 0.728 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002315/1.299, allocations: 122.5 kB / 0.7281 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001889/1.301, allocations: 214.6 kB / 0.7283 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001709/1.303, allocations: 0.6213 MB / 0.7289 GB, free: 9.621 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.096e-05/1.303, allocations: 61.98 kB / 0.729 GB, free: 9.562 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001802/1.303, allocations: 83.84 kB / 0.7291 GB, free: 9.48 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002119/1.305, allocations: 0.9139 MB / 0.73 GB, free: 8.484 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.709e-05/1.305, allocations: 7.922 kB / 0.73 GB, free: 8.477 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/1.305, allocations: 40 kB / 0.73 GB, free: 8.438 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.655e-05/1.305, allocations: 25.31 kB / 0.73 GB, free: 8.41 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001572/1.307, allocations: 0.6138 MB / 0.7306 GB, free: 7.793 MB / 0.545 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.007211/1.314, allocations: 4.59 MB / 0.7351 GB, free: 2.914 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001224/1.316, allocations: 0.539 MB / 0.7356 GB, free: 2.332 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.827e-05/1.316, allocations: 15.98 kB / 0.7357 GB, free: 2.316 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.593e-05/1.316, allocations: 46.55 kB / 0.7357 GB, free: 2.262 MB / 0.545 GB Notification: Performance of pre-optimization done (n=43): time 4.94e-06/1.316, allocations: 0 / 0.7357 GB, free: 2.262 MB / 0.545 GB Notification: Performance of matching and sorting (n=45): time 0.004577/1.32, allocations: 1.587 MB / 0.7372 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/1.32, allocations: 106.8 kB / 0.7373 GB, free: 500 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001355/1.322, allocations: 0.7077 MB / 0.738 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.992e-05/1.322, allocations: 37.7 kB / 0.7381 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004775/1.322, allocations: 411.8 kB / 0.7385 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002377/1.323, allocations: 161.6 kB / 0.7386 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.732e-05/1.323, allocations: 15.94 kB / 0.7386 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001912/1.323, allocations: 334 kB / 0.739 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004297/1.323, allocations: 185.1 kB / 0.7391 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006907/1.324, allocations: 409 kB / 0.7395 GB, free: 14.14 MB / 0.5606 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.00249/1.327, allocations: 0.6788 MB / 0.7402 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.734e-06/1.327, allocations: 4 kB / 0.7402 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001637/1.328, allocations: 0.6522 MB / 0.7408 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/1.328, allocations: 12.73 kB / 0.7408 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/1.328, allocations: 8 kB / 0.7408 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.321e-05/1.328, allocations: 23.97 kB / 0.7409 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007217/1.329, allocations: 123.8 kB / 0.741 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.455e-05/1.329, allocations: 11.94 kB / 0.741 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/1.33, allocations: 64.5 kB / 0.7411 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.127e-05/1.33, allocations: 28 kB / 0.7411 GB, free: 12.51 MB / 0.5606 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006605/1.331, allocations: 269.9 kB / 0.7413 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002479/1.331, allocations: 79.06 kB / 0.7414 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002441/1.331, allocations: 95.61 kB / 0.7415 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.555e-05/1.332, allocations: 4 kB / 0.7415 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.374e-05/1.332, allocations: 4 kB / 0.7415 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001102/1.333, allocations: 0.692 MB / 0.7422 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003831/1.336, allocations: 1.642 MB / 0.7438 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/1.337, allocations: 7.938 kB / 0.7438 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006688/1.337, allocations: 100.4 kB / 0.7439 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.777e-05/1.337, allocations: 11.94 kB / 0.7439 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-05/1.337, allocations: 16 kB / 0.7439 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.867e-05/1.337, allocations: 11.98 kB / 0.7439 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.798e-06/1.337, allocations: 11.89 kB / 0.744 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001988/1.339, allocations: 1.04 MB / 0.745 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005784/1.34, allocations: 208.2 kB / 0.7452 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001541/1.34, allocations: 16 kB / 0.7452 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00075/1.341, allocations: 36.38 kB / 0.7452 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.663e-05/1.341, allocations: 39.86 kB / 0.7453 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.663e-05/1.341, allocations: 19.98 kB / 0.7453 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001048/1.342, allocations: 0.5068 MB / 0.7458 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.51e-07/1.342, allocations: 0 / 0.7458 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001287/1.343, allocations: 200 kB / 0.746 GB, free: 7.141 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003621/1.347, allocations: 2.796 MB / 0.7487 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001359/1.348, allocations: 465.4 kB / 0.7491 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/1.348, allocations: 0 / 0.7491 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004989/1.349, allocations: 214.2 kB / 0.7493 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003323/1.352, allocations: 465.7 kB / 0.7498 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0142/1.367, allocations: 9.007 MB / 0.7586 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009373/1.368, allocations: 1.048 MB / 0.7596 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001272/1.369, allocations: 199 kB / 0.7598 GB, free: 8.559 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006214/1.369, allocations: 295.3 kB / 0.7601 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of SimCode: time 1.894e-06/1.369, allocations: 0 / 0.7601 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06468/1.434, allocations: 21.55 MB / 0.7811 GB, free: 3.129 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003567/1.435, allocations: 253 kB / 0.7814 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.264/5.699, allocations: 0 / 0.7814 GB, free: 2.789 MB / 0.5919 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/linux/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) Environment - environmentSimulation: