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.0009767/0.0009768, allocations: 99.05 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.001116/0.001116, allocations: 179.2 kB / 16.92 MB, free: 6.918 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.303/1.303, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6546/0.6546, allocations: 115.5 MB / 407.6 MB, free: 2.738 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003104/0.0003105, allocations: 9.875 kB / 496 MB, free: 6.258 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1315, allocations: 77.53 MB / 0.56 GB, free: 8.934 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.3983/0.5298, allocations: 182.6 MB / 0.7383 GB, free: 104 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01354/0.5434, allocations: 12.95 MB / 0.751 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008651/0.5443, allocations: 27.81 kB / 0.751 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001113/0.5454, allocations: 346 kB / 0.7513 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002559/0.548, allocations: 1.089 MB / 0.7524 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001477/0.5495, allocations: 0.6359 MB / 0.753 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002717/0.5522, allocations: 2.78 MB / 0.7557 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009877/0.5532, allocations: 0.6946 MB / 0.7564 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003147/0.5564, allocations: 1.63 MB / 0.758 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001489/0.5579, allocations: 0.6582 MB / 0.7586 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001266/0.558, allocations: 32 kB / 0.7587 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001596/0.5596, allocations: 0.9625 MB / 0.7596 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000363/0.56, allocations: 339 kB / 0.7599 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005316/0.5605, allocations: 475.3 kB / 0.7604 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001672/0.5622, allocations: 1.476 MB / 0.7618 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.5622, allocations: 0 / 0.7618 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5622, allocations: 4 kB / 0.7618 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.938e-05/0.5623, allocations: 0 / 0.7618 GB, free: 7.941 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.00155/0.5638, allocations: 1.044 MB / 0.7629 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.5639, allocations: 8.031 kB / 0.7629 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001545/0.564, allocations: 130.5 kB / 0.763 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/0.5652, allocations: 210.6 kB / 0.7632 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009011/0.5661, allocations: 0.6441 MB / 0.7638 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.701e-05/0.5662, allocations: 62 kB / 0.7639 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/0.5663, allocations: 80 kB / 0.764 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001266/0.5676, allocations: 0.9326 MB / 0.7649 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.948e-05/0.5676, allocations: 8 kB / 0.7649 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.946e-05/0.5677, allocations: 31.94 kB / 0.7649 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.256e-05/0.5678, allocations: 41.3 kB / 0.7649 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/0.5689, allocations: 0.6099 MB / 0.7655 GB, free: 3.961 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.003793/0.5727, allocations: 4.597 MB / 0.77 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007119/0.5734, allocations: 0.5418 MB / 0.7706 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003125/0.5737, allocations: 241.9 kB / 0.7708 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001567/0.5739, allocations: 109.7 kB / 0.7709 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.5739, allocations: 46.5 kB / 0.7709 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 1.693e-06/0.5739, allocations: 0 / 0.7709 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45): time 0.002477/0.5764, allocations: 1.599 MB / 0.7725 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.5765, allocations: 107.1 kB / 0.7726 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007596/0.5772, allocations: 0.7193 MB / 0.7733 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.588e-05/0.5773, allocations: 37.7 kB / 0.7733 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002661/0.5776, allocations: 415.8 kB / 0.7737 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.5777, allocations: 157.7 kB / 0.7739 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.876e-05/0.5778, allocations: 57.69 kB / 0.7739 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.5779, allocations: 334 kB / 0.7743 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002733/0.5782, allocations: 185.2 kB / 0.7744 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004085/0.5786, allocations: 417 kB / 0.7748 GB, free: 9.863 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.002057/0.5806, allocations: 1.181 MB / 0.776 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.5807, allocations: 0 / 0.776 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009029/0.5816, allocations: 0.6789 MB / 0.7767 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.5816, allocations: 8 kB / 0.7767 GB, free: 7.883 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.5816, allocations: 4.781 kB / 0.7767 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.5816, allocations: 12 kB / 0.7767 GB, free: 7.867 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004169/0.582, allocations: 127.8 kB / 0.7768 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.528e-05/0.5821, allocations: 15.94 kB / 0.7768 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005894/0.5827, allocations: 55.8 kB / 0.7769 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.68e-05/0.5827, allocations: 28 kB / 0.7769 GB, free: 7.645 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 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003053/0.583, allocations: 273.6 kB / 0.7772 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.5832, allocations: 83 kB / 0.7772 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001552/0.5833, allocations: 91.61 kB / 0.7773 GB, free: 7.191 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.5833, allocations: 11.92 kB / 0.7773 GB, free: 7.18 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.5834, allocations: 0 / 0.7773 GB, free: 7.18 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006215/0.584, allocations: 0.6964 MB / 0.778 GB, free: 6.398 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002089/0.5861, allocations: 1.642 MB / 0.7796 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.5861, allocations: 4 kB / 0.7796 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000429/0.5865, allocations: 100.3 kB / 0.7797 GB, free: 4.547 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.5866, allocations: 8 kB / 0.7797 GB, free: 4.539 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.031e-05/0.5866, allocations: 12 kB / 0.7797 GB, free: 4.527 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.306e-06/0.5866, allocations: 11.94 kB / 0.7797 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.5866, allocations: 7.984 kB / 0.7798 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009584/0.5876, allocations: 0.8654 MB / 0.7806 GB, free: 3.582 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002385/0.5878, allocations: 204 kB / 0.7808 GB, free: 3.363 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.098e-05/0.5879, allocations: 19.98 kB / 0.7808 GB, free: 3.344 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004703/0.5884, allocations: 40.23 kB / 0.7808 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.522e-05/0.5885, allocations: 40.08 kB / 0.7809 GB, free: 3.27 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.315e-05/0.5885, allocations: 24 kB / 0.7809 GB, free: 3.246 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005479/0.5891, allocations: 0.5107 MB / 0.7814 GB, free: 2.738 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5891, allocations: 7.938 kB / 0.7814 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006425/0.5897, allocations: 204 kB / 0.7816 GB, free: 2.531 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.001464/0.5912, allocations: 1.491 MB / 0.7831 GB, free: 0.9883 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006689/0.5919, allocations: 475.3 kB / 0.7835 GB, free: 0.5234 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.5919, allocations: 4 kB / 0.7835 GB, free: 0.5195 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002594/0.5921, allocations: 210.9 kB / 0.7837 GB, free: 324 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00235/0.5945, allocations: 462.7 kB / 0.7842 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008199/0.6027, allocations: 7.247 MB / 0.7912 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005468/0.6033, allocations: 1.032 MB / 0.7923 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006284/0.6039, allocations: 203 kB / 0.7924 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003607/0.6043, allocations: 299.3 kB / 0.7927 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of SimCode: time 3.91e-07/0.6043, allocations: 0 / 0.7927 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.132/3.736, allocations: 21.12 MB / 0.8134 GB, free: 1.965 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002507/3.736, allocations: 277.5 kB / 0.8136 GB, free: 1.582 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.121/6.857, allocations: 2.5 kB / 0.8136 GB, free: 1.582 MB / 0.6231 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)