Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IDEAS_dev_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.0009351/0.0009352, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.005488/0.005488, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.238/1.238, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8712/0.8712, allocations: 135.3 MB / 426.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002647/0.0002647, allocations: 12.94 kB / 0.5077 GB, free: 4.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1433, allocations: 82.31 MB / 0.5881 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.4611/0.6045, allocations: 182.6 MB / 0.7664 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01515/0.6197, allocations: 12.94 MB / 0.779 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001392/0.6211, allocations: 27.81 kB / 0.779 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00128/0.6224, allocations: 354 kB / 0.7794 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002911/0.6253, allocations: 1.089 MB / 0.7804 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001639/0.627, allocations: 0.617 MB / 0.781 GB, free: 6.812 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00315/0.6301, allocations: 2.777 MB / 0.7837 GB, free: 4.031 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009775/0.6311, allocations: 0.7078 MB / 0.7844 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003864/0.635, allocations: 1.623 MB / 0.786 GB, free: 1.68 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001517/0.6365, allocations: 0.6638 MB / 0.7867 GB, free: 1.016 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.943e-05/0.6366, allocations: 32 kB / 0.7867 GB, free: 0.9844 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001873/0.6385, allocations: 0.9663 MB / 0.7876 GB, free: 16 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003373/0.6388, allocations: 335 kB / 0.788 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004796/0.6393, allocations: 479.3 kB / 0.7884 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001686/0.641, allocations: 1.468 MB / 0.7899 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.641, allocations: 0 / 0.7899 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.12e-07/0.641, allocations: 0 / 0.7899 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.227e-06/0.6411, allocations: 0 / 0.7899 GB, free: 13.74 MB / 0.6075 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.001427/0.6425, allocations: 1.058 MB / 0.7909 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.6425, allocations: 8.031 kB / 0.7909 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000133/0.6427, allocations: 122.5 kB / 0.791 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001095/0.6438, allocations: 214.6 kB / 0.7912 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009396/0.6447, allocations: 0.6442 MB / 0.7918 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.558e-05/0.6448, allocations: 58 kB / 0.7919 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.6449, allocations: 79.84 kB / 0.792 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001251/0.6461, allocations: 0.9365 MB / 0.7929 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.6462, allocations: 7.875 kB / 0.7929 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.413e-05/0.6463, allocations: 32 kB / 0.7929 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.265e-05/0.6463, allocations: 37.3 kB / 0.793 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009337/0.6472, allocations: 0.6099 MB / 0.7936 GB, free: 9.758 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.004086/0.6513, allocations: 4.589 MB / 0.798 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007251/0.6521, allocations: 0.5347 MB / 0.7986 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003114/0.6524, allocations: 250.5 kB / 0.7988 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001486/0.6525, allocations: 101.1 kB / 0.7989 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.6526, allocations: 43.19 kB / 0.7989 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 1.693e-06/0.6526, allocations: 0 / 0.7989 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.002513/0.6551, allocations: 1.583 MB / 0.8005 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.6552, allocations: 114.7 kB / 0.8006 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007538/0.6559, allocations: 0.7155 MB / 0.8013 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.195e-05/0.656, allocations: 37.95 kB / 0.8013 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002845/0.6563, allocations: 415.8 kB / 0.8017 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.6564, allocations: 165.6 kB / 0.8019 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.214e-05/0.6565, allocations: 57.69 kB / 0.8019 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.6566, allocations: 326 kB / 0.8023 GB, free: 376 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002916/0.6569, allocations: 189.2 kB / 0.8024 GB, free: 188 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004486/0.6574, allocations: 413 kB / 0.8028 GB, free: 15.69 MB / 0.6231 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.002137/0.6595, allocations: 1.168 MB / 0.804 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.6595, allocations: 4 kB / 0.804 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009662/0.6605, allocations: 0.6756 MB / 0.8046 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.6605, allocations: 4 kB / 0.8046 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.6605, allocations: 8 kB / 0.8046 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.6606, allocations: 11.94 kB / 0.8047 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004748/0.661, allocations: 131.8 kB / 0.8048 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.6611, allocations: 8 kB / 0.8048 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005898/0.6617, allocations: 53.42 kB / 0.8048 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.667e-05/0.6617, allocations: 28 kB / 0.8049 GB, free: 13.49 MB / 0.6231 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.0003363/0.6621, allocations: 277.5 kB / 0.8051 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/0.6622, allocations: 83 kB / 0.8052 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001677/0.6624, allocations: 91.66 kB / 0.8053 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.6624, allocations: 8 kB / 0.8053 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.6624, allocations: 0 / 0.8053 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000685/0.6631, allocations: 0.6911 MB / 0.806 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002296/0.6654, allocations: 1.65 MB / 0.8076 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.6654, allocations: 4 kB / 0.8076 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004387/0.6659, allocations: 99.83 kB / 0.8077 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.116e-06/0.6659, allocations: 8 kB / 0.8077 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.988e-05/0.6659, allocations: 15.98 kB / 0.8077 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/0.6659, allocations: 8.062 kB / 0.8077 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.6659, allocations: 11.88 kB / 0.8077 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.667, allocations: 0.8911 MB / 0.8086 GB, free: 9.402 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002461/0.6672, allocations: 216.1 kB / 0.8088 GB, free: 9.172 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.924e-05/0.6673, allocations: 12 kB / 0.8088 GB, free: 9.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004821/0.6678, allocations: 40.38 kB / 0.8089 GB, free: 9.121 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.689e-05/0.6679, allocations: 39.84 kB / 0.8089 GB, free: 9.082 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.255e-05/0.6679, allocations: 23.98 kB / 0.8089 GB, free: 9.059 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005855/0.6685, allocations: 0.5068 MB / 0.8094 GB, free: 8.555 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6685, allocations: 0 / 0.8094 GB, free: 8.555 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006993/0.6692, allocations: 204 kB / 0.8096 GB, free: 8.355 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 (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.001615/0.6709, allocations: 1.521 MB / 0.8111 GB, free: 6.785 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007184/0.6716, allocations: 480.9 kB / 0.8115 GB, free: 6.316 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.6716, allocations: 8.062 kB / 0.8116 GB, free: 6.309 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002794/0.6719, allocations: 207.6 kB / 0.8118 GB, free: 6.105 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002447/0.6743, allocations: 452.8 kB / 0.8122 GB, free: 5.68 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008501/0.6829, allocations: 7.233 MB / 0.8192 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000553/0.6834, allocations: 1.028 MB / 0.8203 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0006928/0.6841, allocations: 195.7 kB / 0.8204 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003665/0.6845, allocations: 295.3 kB / 0.8207 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of SimCode: time 5.91e-07/0.6845, allocations: 4 kB / 0.8207 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.136/3.82, allocations: 21.13 MB / 0.8414 GB, free: 7.781 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002818/3.821, allocations: 273.1 kB / 0.8416 GB, free: 7.426 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.079/7.9, allocations: 3.75 kB / 0.8416 GB, free: 7.426 MB / 0.6544 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)