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.001038/0.001038, allocations: 104.6 kB / 16.4 MB, free: 6.496 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.001266/0.001266, allocations: 197.2 kB / 17.34 MB, free: 5.762 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.32/1.32, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6875/0.6875, allocations: 115.3 MB / 406.5 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 65.41 kB / 0.5572 GB, free: 32.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1401, allocations: 76.18 MB / 0.6316 GB, free: 4.867 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5394/0.6795, allocations: 187.3 MB / 0.8145 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01608/0.6957, allocations: 13.06 MB / 0.8272 GB, free: 7.086 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001377/0.6971, allocations: 34.34 kB / 0.8273 GB, free: 7.074 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001547/0.6986, allocations: 430.2 kB / 0.8277 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003195/0.7019, allocations: 1.163 MB / 0.8288 GB, free: 5.988 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001895/0.7038, allocations: 0.7036 MB / 0.8295 GB, free: 5.512 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002519/0.7063, allocations: 2.022 MB / 0.8315 GB, free: 4.418 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00123/0.7076, allocations: 0.834 MB / 0.8323 GB, free: 3.922 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003831/0.7114, allocations: 1.83 MB / 0.8341 GB, free: 2.91 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001479/0.7129, allocations: 0.6634 MB / 0.8347 GB, free: 2.566 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001154/0.7131, allocations: 79.84 kB / 0.8348 GB, free: 2.566 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001615/0.7147, allocations: 0.8744 MB / 0.8357 GB, free: 2.215 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003464/0.715, allocations: 387.3 kB / 0.836 GB, free: 1.969 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000504/0.7155, allocations: 0.493 MB / 0.8365 GB, free: 1.652 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001751/0.7173, allocations: 1.5 MB / 0.838 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.7173, allocations: 3.188 kB / 0.838 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.353e-06/0.7173, allocations: 0 / 0.838 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.155e-05/0.7173, allocations: 0 / 0.838 GB, free: 0.7344 MB / 0.5919 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.001668/0.719, allocations: 1.232 MB / 0.8392 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.7191, allocations: 9.75 kB / 0.8392 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001286/0.7192, allocations: 126.8 kB / 0.8393 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001113/0.7203, allocations: 218.5 kB / 0.8395 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.7214, allocations: 0.6772 MB / 0.8402 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.986e-05/0.7214, allocations: 70.75 kB / 0.8402 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.856e-05/0.7215, allocations: 80.92 kB / 0.8403 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/0.7227, allocations: 0.9332 MB / 0.8412 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.446e-05/0.7227, allocations: 6.625 kB / 0.8412 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.357e-05/0.7228, allocations: 35.66 kB / 0.8413 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.259e-05/0.7228, allocations: 28.62 kB / 0.8413 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008488/0.7237, allocations: 0.6161 MB / 0.8419 GB, free: 13.98 MB / 0.6075 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.003986/0.7277, allocations: 4.572 MB / 0.8464 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007045/0.7284, allocations: 0.5452 MB / 0.8469 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003096/0.7287, allocations: 254.6 kB / 0.8471 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001639/0.7289, allocations: 96.34 kB / 0.8472 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.7289, allocations: 45.55 kB / 0.8473 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 2.104e-06/0.729, allocations: 0 / 0.8473 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.002423/0.7314, allocations: 1.589 MB / 0.8488 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.763e-05/0.7315, allocations: 114.4 kB / 0.8489 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006974/0.7322, allocations: 0.7166 MB / 0.8496 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/0.7322, allocations: 32.83 kB / 0.8497 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002637/0.7325, allocations: 417.8 kB / 0.8501 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000126/0.7326, allocations: 161.8 kB / 0.8502 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001529/0.7328, allocations: 120.3 kB / 0.8503 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.7329, allocations: 330.6 kB / 0.8507 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002545/0.7331, allocations: 189.2 kB / 0.8508 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003963/0.7335, allocations: 421.6 kB / 0.8512 GB, free: 6.152 MB / 0.6075 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.002054/0.7356, allocations: 1.172 MB / 0.8524 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.7356, allocations: 4 kB / 0.8524 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009002/0.7365, allocations: 0.6751 MB / 0.853 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.7365, allocations: 11.94 kB / 0.8531 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.7366, allocations: 4.781 kB / 0.8531 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.7366, allocations: 12 kB / 0.8531 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004188/0.737, allocations: 131.8 kB / 0.8532 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/0.737, allocations: 12 kB / 0.8532 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005102/0.7375, allocations: 27.92 kB / 0.8532 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.409e-05/0.7376, allocations: 27.94 kB / 0.8533 GB, free: 3.965 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 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.0003288/0.7379, allocations: 277.5 kB / 0.8535 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/0.7381, allocations: 83.56 kB / 0.8536 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001465/0.7382, allocations: 91.66 kB / 0.8537 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.7382, allocations: 8 kB / 0.8537 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.7383, allocations: 0 / 0.8537 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000637/0.7389, allocations: 0.7002 MB / 0.8544 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002182/0.7411, allocations: 1.643 MB / 0.856 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.7411, allocations: 8.031 kB / 0.856 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004137/0.7415, allocations: 99.83 kB / 0.8561 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.213e-06/0.7415, allocations: 7.938 kB / 0.8561 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.178e-05/0.7416, allocations: 12 kB / 0.8561 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.595e-06/0.7416, allocations: 11.98 kB / 0.8561 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.7416, allocations: 8.688 kB / 0.8561 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.7426, allocations: 0.8655 MB / 0.857 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003005/0.7429, allocations: 204.1 kB / 0.8572 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.1e-05/0.743, allocations: 16 kB / 0.8572 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004116/0.7434, allocations: 19.98 kB / 0.8572 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.517e-05/0.7435, allocations: 39.84 kB / 0.8572 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.285e-05/0.7436, allocations: 20.17 kB / 0.8573 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005676/0.7441, allocations: 0.5068 MB / 0.8578 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7441, allocations: 0 / 0.8578 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00069/0.7448, allocations: 208 kB / 0.858 GB, free: 14.89 MB / 0.6231 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.001525/0.7464, allocations: 1.51 MB / 0.8594 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007305/0.7471, allocations: 476.5 kB / 0.8599 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.7471, allocations: 7.938 kB / 0.8599 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002585/0.7474, allocations: 205.2 kB / 0.8601 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001985/0.7494, allocations: 485.3 kB / 0.8606 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007602/0.757, allocations: 6.602 MB / 0.867 GB, free: 5.199 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005454/0.7576, allocations: 1.036 MB / 0.868 GB, free: 4.133 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006538/0.7582, allocations: 203 kB / 0.8682 GB, free: 3.93 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003743/0.7586, allocations: 299.3 kB / 0.8685 GB, free: 3.637 MB / 0.6231 GB Notification: Performance of SimCode: time 1.012e-06/0.7586, allocations: 0 / 0.8685 GB, free: 3.637 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04753/0.8062, allocations: 22.58 MB / 0.8905 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.884/9.69, allocations: 14.77 kB / 0.8906 GB, free: 13.41 MB / 0.6544 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)