Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IDEAS_IDEAS_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.0007957/0.0007958, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008062/0.0008062, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 223.2 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7302/0.7302, allocations: 132.3 MB / 423.4 MB, free: 2.109 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003428/0.0003428, allocations: 12 kB / 0.5035 GB, free: 4.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4271/0.4274, allocations: 81.57 MB / 0.5832 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1838/0.6113, allocations: 170.4 MB / 0.7495 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01409/0.6255, allocations: 12.13 MB / 0.7614 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001136/0.6267, allocations: 27.81 kB / 0.7614 GB, free: 9.625 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001062/0.6277, allocations: 294 kB / 0.7617 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002285/0.63, allocations: 0.8786 MB / 0.7625 GB, free: 8.453 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001623/0.6317, allocations: 0.5348 MB / 0.763 GB, free: 7.926 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002634/0.6343, allocations: 2.343 MB / 0.7653 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008257/0.6352, allocations: 0.6021 MB / 0.7659 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003077/0.6382, allocations: 1.357 MB / 0.7672 GB, free: 3.594 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001034/0.6393, allocations: 0.6148 MB / 0.7678 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.117e-05/0.6394, allocations: 36 kB / 0.7679 GB, free: 2.941 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001254/0.6406, allocations: 443 kB / 0.7683 GB, free: 2.508 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003643/0.641, allocations: 343 kB / 0.7686 GB, free: 2.172 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002824/0.6413, allocations: 197.3 kB / 0.7688 GB, free: 1.973 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001213/0.6425, allocations: 1.04 MB / 0.7698 GB, free: 0.9297 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.6425, allocations: 0 / 0.7698 GB, free: 0.9297 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.894e-06/0.6426, allocations: 0 / 0.7698 GB, free: 0.9297 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.6426, allocations: 0 / 0.7698 GB, free: 0.9297 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.00158/0.6442, allocations: 1.056 MB / 0.7709 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.6442, allocations: 8.031 kB / 0.7709 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001513/0.6444, allocations: 126.5 kB / 0.771 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001082/0.6455, allocations: 218.6 kB / 0.7712 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009212/0.6464, allocations: 0.6173 MB / 0.7718 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.622e-05/0.6465, allocations: 58 kB / 0.7719 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.6466, allocations: 76 kB / 0.7719 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001255/0.6478, allocations: 0.9302 MB / 0.7728 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/0.6479, allocations: 7.938 kB / 0.7728 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.359e-05/0.6479, allocations: 32 kB / 0.7729 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.725e-05/0.648, allocations: 25.31 kB / 0.7729 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000922/0.6489, allocations: 0.6138 MB / 0.7735 GB, free: 12.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.004028/0.6529, allocations: 4.593 MB / 0.778 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006949/0.6536, allocations: 0.5294 MB / 0.7785 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000332/0.654, allocations: 242.5 kB / 0.7787 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001866/0.6542, allocations: 109 kB / 0.7788 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.021e-05/0.6542, allocations: 39.25 kB / 0.7789 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 2.735e-06/0.6542, allocations: 0 / 0.7789 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.00254/0.6568, allocations: 1.575 MB / 0.7804 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.477e-05/0.6569, allocations: 110.8 kB / 0.7805 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007435/0.6576, allocations: 0.7077 MB / 0.7812 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.795e-05/0.6577, allocations: 37.7 kB / 0.7812 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002852/0.658, allocations: 415.8 kB / 0.7816 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/0.6581, allocations: 165.7 kB / 0.7818 GB, free: 4 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.534e-05/0.6581, allocations: 8 kB / 0.7818 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.6582, allocations: 342 kB / 0.7821 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002592/0.6585, allocations: 177.2 kB / 0.7823 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000431/0.659, allocations: 413 kB / 0.7827 GB, free: 2.984 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.001429/0.6604, allocations: 0.6635 MB / 0.7833 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.6604, allocations: 4 kB / 0.7834 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008973/0.6613, allocations: 0.6636 MB / 0.784 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.6613, allocations: 11.94 kB / 0.784 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.6614, allocations: 8 kB / 0.784 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/0.6614, allocations: 8 kB / 0.784 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004415/0.6618, allocations: 124.5 kB / 0.7841 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.695e-05/0.6619, allocations: 19.92 kB / 0.7842 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005043/0.6624, allocations: 43.91 kB / 0.7842 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.947e-05/0.6624, allocations: 28 kB / 0.7842 GB, free: 1.391 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 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.0003569/0.6628, allocations: 285.6 kB / 0.7845 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001471/0.6629, allocations: 83.06 kB / 0.7846 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001626/0.6631, allocations: 91.64 kB / 0.7847 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.6631, allocations: 4 kB / 0.7847 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.6631, allocations: 4 kB / 0.7847 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006908/0.6638, allocations: 0.6949 MB / 0.7854 GB, free: 140 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002266/0.6661, allocations: 1.639 MB / 0.787 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.6661, allocations: 4 kB / 0.787 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004155/0.6665, allocations: 99.89 kB / 0.7871 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.6666, allocations: 8 kB / 0.7871 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.211e-05/0.6666, allocations: 12 kB / 0.7871 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.625e-06/0.6666, allocations: 16.36 kB / 0.7871 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.6666, allocations: 8 kB / 0.7871 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.6677, allocations: 0.8882 MB / 0.788 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002521/0.6679, allocations: 208.1 kB / 0.7882 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.247e-05/0.668, allocations: 15.98 kB / 0.7882 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004274/0.6685, allocations: 36.42 kB / 0.7882 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.604e-05/0.6685, allocations: 43.84 kB / 0.7883 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.519e-05/0.6686, allocations: 16 kB / 0.7883 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000579/0.6692, allocations: 0.5029 MB / 0.7888 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.6692, allocations: 0 / 0.7888 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006939/0.6699, allocations: 204 kB / 0.789 GB, free: 12.26 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.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 (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.001607/0.6715, allocations: 1.53 MB / 0.7905 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007957/0.6723, allocations: 469.4 kB / 0.7909 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.6723, allocations: 4 kB / 0.7909 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000278/0.6726, allocations: 207.6 kB / 0.7911 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001946/0.6745, allocations: 456.1 kB / 0.7915 GB, free: 9.582 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006833/0.6814, allocations: 4.989 MB / 0.7964 GB, free: 4.344 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005833/0.682, allocations: 1.032 MB / 0.7974 GB, free: 3.285 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006602/0.6827, allocations: 195 kB / 0.7976 GB, free: 3.09 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003575/0.683, allocations: 303.3 kB / 0.7979 GB, free: 2.797 MB / 0.6231 GB Notification: Performance of SimCode: time 3.61e-07/0.683, allocations: 0 / 0.7979 GB, free: 2.797 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3293/1.012, allocations: 21.58 MB / 0.819 GB, free: 217.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001404/1.013, allocations: 243.5 kB / 0.8192 GB, free: 217.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.143/3.155, allocations: 0.7812 kB / 0.8192 GB, free: 217.3 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) Environment - environmentSimulation: